Changeset 19076 for trunk/FACT++/src


Ignore:
Timestamp:
07/23/18 15:58:30 (6 years ago)
Author:
tbretz
Message:
Print a hint on the size of the large query sent.
Location:
trunk/FACT++/src
Files:
2 edited

Legend:

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

    r19071 r19076  
    608608        {
    609609            cerr << query2 << "\n\n";
    610             cerr << "SQL query failed:\n" << e.what() << endl;
     610            cerr << "SQL query (" << query2.length() << " bytes) failed:\n" << e.what() << endl;
    611611            return 8;
    612612        }
  • trunk/FACT++/src/root2sql.cc

    r19073 r19076  
    554554
    555555    if (verbose>0)
     556    {
    556557        cout << "\n--------------------------- Inserting data -------------------------" << endl;
     558        cout << "Sending INSERT query (" << query.length() << " bytes)"  << endl;
     559    }
    557560
    558561    try
     
    570573    {
    571574        cerr << query << "\n\n";
    572         cerr << "SQL query failed:\n" << e.what() << endl;
     575        cerr << "SQL query failed (" << query.length() << " bytes):\n" << e.what() << endl;
    573576        return 6;
    574577    }
Note: See TracChangeset for help on using the changeset viewer.