- Timestamp:
- 08/11/18 20:51:11 (6 years ago)
- Location:
- trunk/FACT++/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/fits2sql.cc
r19152 r19153 648 648 connection.query("SELECT 1 FROM `"+table+"` WHERE 1"+where+" LIMIT 1").store(); 649 649 650 if (print_select) 651 cout << "SELECT 1 FROM `"+table+"` WHERE 1" << where << " LIMIT 1" << endl; 652 650 653 if (res.num_rows()>0) 651 654 { … … 653 656 { 654 657 cout << "Conditional execution... detected existing rows!\n"; 655 cout << "Exit. " << endl;658 cout << "Exit.\n" << endl; 656 659 } 657 660 return 0; … … 665 668 return 7; 666 669 } 667 668 if (print_select)669 cout << "SELECT 1 FROM `"+table+"` WHERE 1" << where << " LIMIT 1" << endl;670 671 670 672 671 try -
trunk/FACT++/src/root2sql.cc
r19152 r19153 689 689 { 690 690 cout << "Conditional execution... detected existing rows!\n"; 691 cout << "Exit. " << endl;691 cout << "Exit.\n" << endl; 692 692 } 693 693 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.