Changeset 19081 for trunk/FACT++


Ignore:
Timestamp:
07/24/18 19:56:25 (6 years ago)
Author:
tbretz
Message:
Night was still partially in...
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/root2sql.cc

    r19080 r19081  
    509509    //query = update ? "UPDATE" : "INSERT";
    510510    query = "INSERT `"+table+"`\n"
    511         "(\n"
    512         "   `Night`";
     511        "(\n";
    513512
    514513    for (auto c=vec.cbegin(); c!=vec.cend(); c++)
    515         query += ",\n   `"+c->column+"`";
     514    {
     515        if (c!=vec.cbegin())
     516            query += ",\n";
     517        query += "   `"+c->column+"`";
     518    }
    516519
    517520    query +=
Note: See TracChangeset for help on using the changeset viewer.