Changeset 19165 for trunk/FACT++


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

Legend:

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

    r19162 r19165  
    682682    catch (const exception &e)
    683683    {
    684         cerr << "DELETE FROM `"+table+"` WHERE 1" << where << "\n\n";
     684        cerr << "DELETE FROM `" << table << "` WHERE 1" << where << "\n\n";
    685685        cerr << "SQL query failed: " << e.what() << endl;
    686686        return 8;
     
    688688
    689689    if (print_delete)
    690         cout << "DELETE FROM `"+table+"` WHERE 1" << where << endl;
     690        cout << "DELETE FROM `" << table << "` WHERE 1" << where << endl;
    691691
    692692    // -------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.