Changeset 19162
- Timestamp:
- 08/14/18 12:22:20 (6 years ago)
- Location:
- trunk/FACT++/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/fits2sql.cc
r19157 r19162 577 577 cerr << "\nSHOW STATUS LIKE COMPRESSION\n\n"; 578 578 cerr << "SQL query failed:\n" << e.what() << endl; 579 return 6;579 return 4; 580 580 } 581 581 } … … 684 684 cerr << "DELETE FROM `"+table+"` WHERE 1" << where << "\n\n"; 685 685 cerr << "SQL query failed: " << e.what() << endl; 686 return 7;686 return 8; 687 687 } 688 688 … … 801 801 cerr << query << "\n\n"; 802 802 cerr << "SQL query failed (" << query.length() << " bytes):\n" << e.what() << '\n' << endl; 803 return 7;803 return 9; 804 804 } 805 805 … … 829 829 cerr << "\nSHOW WARNINGS\n\n"; 830 830 cerr << "SQL query failed:\n" << e.what() << '\n' <<endl; 831 return 8;831 return 10; 832 832 } 833 833 } … … 847 847 cerr << "\nSHOW STATUS LIKE 'Bytes_%'\n\n"; 848 848 cerr << "SQL query failed:\n" << e.what() << endl; 849 return 6;849 return 11; 850 850 } 851 851 } -
trunk/FACT++/src/root2sql.cc
r19157 r19162 614 614 cerr << "\nSHOW STATUS LIKE COMPRESSION\n\n"; 615 615 cerr << "SQL query failed:\n" << e.what() << endl; 616 return 6;616 return 3; 617 617 } 618 618 } … … 699 699 cerr << "SELECT 1 FROM `"+table+"` WHERE 1" << where << " LIMIT 1\n\n"; 700 700 cerr << "SQL query failed: " << e.what() << endl; 701 return 7;701 return 6; 702 702 } 703 703 … … 837 837 cerr << query << "\n\n"; 838 838 cerr << "SQL query failed (" << query.length() << " bytes):\n" << e.what() << '\n' << endl; 839 return 6;839 return 8; 840 840 } 841 841 … … 865 865 cerr << "\nSHOW WARNINGS\n\n"; 866 866 cerr << "SQL query failed:\n" << e.what() << '\n' <<endl; 867 return 7;867 return 9; 868 868 } 869 869 } … … 883 883 cerr << "\nSHOW STATUS LIKE 'Bytes_%'\n\n"; 884 884 cerr << "SQL query failed:\n" << e.what() << endl; 885 return 6;885 return 10; 886 886 } 887 887 } -
trunk/FACT++/src/rootifysql.cc
r19142 r19162 771 771 { 772 772 cerr << "Empty set returned... nothing to write." << endl; 773 finish(connection, verbose, profiling, print_connection); 774 return 14; 773 return finish(connection, verbose, profiling, print_connection)+20; 775 774 } 776 775
Note:
See TracChangeset
for help on using the changeset viewer.