Changeset 19083


Ignore:
Timestamp:
07/24/18 20:02:30 (6 years ago)
Author:
tbretz
Message:
Just realized that grep has the -A option -- so the change wasn't necessry.
Location:
trunk/FACT++/src
Files:
2 edited

Legend:

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

    r19082 r19083  
    249249        {
    250250            cerr << query << "\n";
    251             cerr << "SQL query failed: " << e.what() << endl;
     251            cerr << "SQL query failed:\n" << e.what() << endl;
    252252            return 3;
    253253        }
     
    510510        {
    511511            cerr << "DROP TABLE `" << tab_position << "`\n\n";
    512             cerr << "SQL query failed: " << e.what() << endl;
     512            cerr << "SQL query failed:\n" << e.what() << endl;
    513513            return 5;
    514514        }
     
    544544        {
    545545            cerr << query2 << "\n\n";
    546             cerr << "SQL query failed: " << e.what() << endl;
     546            cerr << "SQL query failed:\n" << e.what() << endl;
    547547            return 6;
    548548        }
     
    580580        {
    581581            cerr << query2 << "\n\n";
    582             cerr << "SQL query failed: " << e.what() << endl;
     582            cerr << "SQL query failed:\n" << e.what() << endl;
    583583            return 7;
    584584        }
     
    615615        {
    616616            cerr << query2 << "\n\n";
    617             cerr << "SQL query (" << query2.length() << " bytes) failed: " << e.what() << endl;
     617            cerr << "SQL query (" << query2.length() << " bytes) failed:\n" << e.what() << endl;
    618618            return 8;
    619619        }
     
    649649            {
    650650                cerr << str << "\n\n";
    651                 cerr << "SQL query failed: " << e.what() << endl;
     651                cerr << "SQL query failed:\n" << e.what() << endl;
    652652                return 9;
    653653            }
  • trunk/FACT++/src/root2sql.cc

    r19082 r19083  
    480480    {
    481481        cerr << "DROP TABLE `" << table << "`\n\n";
    482         cerr << "SQL query failed: " << e.what() << endl;
     482        cerr << "SQL query failed:\n" << e.what() << endl;
    483483        return 4;
    484484    }
     
    492492    {
    493493        cerr << query << "\n\n";
    494         cerr << "SQL query failed: " << e.what() << endl;
     494        cerr << "SQL query failed:\n" << e.what() << endl;
    495495        return 5;
    496496    }
     
    583583    {
    584584        cerr << query << "\n\n";
    585         cerr << "SQL query failed (" << query.length() << " bytes): " << e.what() << endl;
     585        cerr << "SQL query failed (" << query.length() << " bytes):\n" << e.what() << endl;
    586586        return 6;
    587587    }
Note: See TracChangeset for help on using the changeset viewer.