v1.0.5 : Fixed a potential failure in MySQL CM and fixed code

This commit is contained in:
Brendan LE GLAUNEC
2016-08-31 12:46:21 +02:00
parent 27b296c9d2
commit ae3329bd25
4 changed files with 7 additions and 3 deletions
@@ -158,7 +158,7 @@ mysql_cache_manager::set_streams(std::vector<etix::cameradar::stream_model> mode
// TODO : Update an entry if it already exists.
if (result.data->next()) return;
if (result.data->next()) continue;
query = tool::fmt(this->insert_with_id_query,
this->connection.get_db_name().c_str(),