Ignore:
Timestamp:
08/14/18 15:11:48 (6 years ago)
Author:
tbretz
Message:
Stick with the streams.
File:
1 edited

Legend:

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

    r19162 r19164  
    697697    catch (const exception &e)
    698698    {
    699         cerr << "SELECT 1 FROM `"+table+"` WHERE 1" << where << " LIMIT 1\n\n";
     699        cerr << "SELECT 1 FROM `" << table << "` WHERE 1" << where << " LIMIT 1\n\n";
    700700        cerr << "SQL query failed: " << e.what() << endl;
    701701        return 6;
     
    703703
    704704    if (print_select)
    705         cout << "SELECT 1 FROM `"+table+"` WHERE 1" << where << " LIMIT 1" << endl;
     705        cout << "SELECT 1 FROM `" << table << "` WHERE 1" << where << " LIMIT 1" << endl;
    706706
    707707    try
Note: See TracChangeset for help on using the changeset viewer.