Changeset 19105 for trunk/FACT++/src
- Timestamp:
- 07/31/18 14:12:19 (6 years ago)
- Location:
- trunk/FACT++/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/fits2sql.cc
r19104 r19105 445 445 catch (const exception &e) 446 446 { 447 cerr << "SQL connection failed: " << e.what() << endl;447 cerr << "SQL connection failed: " << e.what() << '\n' << endl; 448 448 return 4; 449 449 } … … 480 480 { 481 481 cerr << "DROP TABLE `" << table << "`\n\n"; 482 cerr << "SQL query failed:\n" << e.what() << endl;482 cerr << "SQL query failed:\n" << e.what() << '\n' << endl; 483 483 return 5; 484 484 } … … 492 492 { 493 493 cerr << query << "\n\n"; 494 cerr << "SQL query failed:\n" << e.what() << endl;494 cerr << "SQL query failed:\n" << e.what() << '\n' << endl; 495 495 return 6; 496 496 } … … 606 606 if (verbose>1 || query.length()<80*25) 607 607 cerr << query << "\n\n"; 608 cerr << "SQL query failed (" << query.length() << " bytes):\n" << e.what() << endl;608 cerr << "SQL query failed (" << query.length() << " bytes):\n" << e.what() << '\n' << endl; 609 609 return 7; 610 610 } -
trunk/FACT++/src/root2sql.cc
r19104 r19105 468 468 catch (const exception &e) 469 469 { 470 cerr << "SQL connection failed: " << e.what() << endl;470 cerr << "SQL connection failed: " << e.what() << '\n' << endl; 471 471 return 3; 472 472 } … … 502 502 { 503 503 cerr << "DROP TABLE `" << table << "`\n\n"; 504 cerr << "SQL query failed:\n" << e.what() << endl;504 cerr << "SQL query failed:\n" << e.what() << '\n' << endl; 505 505 return 4; 506 506 } … … 514 514 { 515 515 cerr << query << "\n\n"; 516 cerr << "SQL query failed:\n" << e.what() << endl;516 cerr << "SQL query failed:\n" << e.what() << '\n' << endl; 517 517 return 5; 518 518 } … … 615 615 if (verbose>1 || query.length()<80*25) 616 616 cerr << query << "\n\n"; 617 cerr << "SQL query failed (" << query.length() << " bytes):\n" << e.what() << endl;617 cerr << "SQL query failed (" << query.length() << " bytes):\n" << e.what() << '\n' << endl; 618 618 return 6; 619 619 }
Note:
See TracChangeset
for help on using the changeset viewer.