Commit 31505a74 authored by Marco De Marco's avatar Marco De Marco
Browse files

Dec fix on duplicated

parent 581472b3
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -189,7 +189,7 @@ std::string DBManager::composeInsertQuery(std::string schema, std::string table,

        keysStream << databaseTable << "." << row.date_list(i).key() << ",";
        valuesStream << "'" << boost::posix_time::to_iso_string(timestamp) << "',";
        keyValuesStream << row.date_list(i).key()
        keyValuesStream << databaseTable << "." << row.date_list(i).key()
            << "='" << boost::posix_time::to_iso_string(timestamp) << "',";
    }

@@ -198,7 +198,7 @@ std::string DBManager::composeInsertQuery(std::string schema, std::string table,
    {
        keysStream << databaseTable << "." << row.double_list(i).key() << ",";
        valuesStream << boost::lexical_cast<std::string>(row.double_list(i).value()) << ",";
        keyValuesStream << row.double_list(i).key()
        keyValuesStream << databaseTable << "." << row.double_list(i).key()
            << "=" << row.double_list(i).value() << ",";
    }

@@ -207,7 +207,7 @@ std::string DBManager::composeInsertQuery(std::string schema, std::string table,
    {
        keysStream << databaseTable << "." << row.integer_list(i).key() << ",";
        valuesStream << boost::lexical_cast<std::string>(row.integer_list(i).value()) << ",";
        keyValuesStream << row.integer_list(i).key()
        keyValuesStream << databaseTable << "." << row.integer_list(i).key()
            << "=" << row.integer_list(i).value() << ",";
    }

@@ -216,7 +216,7 @@ std::string DBManager::composeInsertQuery(std::string schema, std::string table,
    {
        keysStream << databaseTable << "." << row.long_long_list(i).key() << ",";
        valuesStream << boost::lexical_cast<std::string>(row.long_long_list(i).value()) << ",";
        keyValuesStream << row.long_long_list(i).key()
        keyValuesStream << databaseTable << "." << row.long_long_list(i).key()
            << "=" << row.long_long_list(i).value() << ",";
    }

@@ -225,7 +225,7 @@ std::string DBManager::composeInsertQuery(std::string schema, std::string table,
    {
        keysStream << databaseTable << "." << row.strings_list(i).key() << ",";
        valuesStream << "'" << row.strings_list(i).value() << "',";
        keyValuesStream << row.strings_list(i).key()
        keyValuesStream << databaseTable << "." << row.strings_list(i).key()
            << "='" << row.strings_list(i).value() << "',";
    }

@@ -234,7 +234,7 @@ std::string DBManager::composeInsertQuery(std::string schema, std::string table,
    {
        keysStream << databaseTable << "." << row.unsinged_long_list(i).key() << ",";
        valuesStream << boost::lexical_cast<std::string>(row.unsinged_long_list(i).value()) << ",";
        keyValuesStream << row.unsinged_long_list(i).key()
        keyValuesStream << databaseTable << "." << row.unsinged_long_list(i).key()
            << "=" << row.unsinged_long_list(i).value() << ",";
    }