Commit 933aa694 authored by Marco De Marco's avatar Marco De Marco
Browse files

On update storage_path and file_path to null

parent ccfb841a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -253,7 +253,7 @@ std::string DBManager::composeInsertQuery(std::string schema, std::string table,
    stringstream query;
    query << "INSERT INTO " << schema << "." << table
        << " (" << keys << ") VALUES (" << values << ") "
        << " ON DUPLICATE KEY UPDATE " << keyValues;
        << " ON DUPLICATE KEY UPDATE storage_path=NULL, file_path=NULL, " << keyValues;

    #ifdef VERBOSE_DEBUG
        INFO_STREAM << "DBManager::composeInsertQuery() " << query.str() << endl;