Changeset 19111


Ignore:
Timestamp:
07/31/18 20:45:56 (6 years ago)
Author:
tbretz
Message:
Minor cosmetics to output.
File:
1 edited

Legend:

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

    r19100 r19111  
    808808
    809809            if (resw.num_rows()>0)
    810                 cout << "\nWARNINGS:\n\n";
     810                cout << "\n" << resw.num_rows() << " Warning(s) issued:\n\n";
    811811
    812812            for (size_t i=0; i<resw.num_rows(); i++)
     
    815815
    816816                cout << roww["Level"] << '[' << roww["Code"] << "]: ";
    817                 cout << roww["Message"] << '\n' << endl;
    818             }
     817                cout << roww["Message"] << '\n';
     818            }
     819            cout << endl;
    819820
    820821        }
     
    862863        {
    863864            cerr << "\nSHOW PROFILE ALL\n\n";
    864             cerr << "SQL query failed:\n" << e.what() << endl;
     865            cerr << "SQL query failed:\n" << e.what() << '\n' <<endl;
    865866            return 11;
    866867        }
Note: See TracChangeset for help on using the changeset viewer.