Changeset 19153 for trunk/FACT++/src


Ignore:
Timestamp:
08/11/18 20:51:11 (6 years ago)
Author:
tbretz
Message:
Minor update.
Location:
trunk/FACT++/src
Files:
2 edited

Legend:

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

    r19152 r19153  
    648648                connection.query("SELECT 1 FROM `"+table+"` WHERE 1"+where+" LIMIT 1").store();
    649649
     650            if (print_select)
     651                cout << "SELECT 1 FROM `"+table+"` WHERE 1" << where << " LIMIT 1" << endl;
     652
    650653            if (res.num_rows()>0)
    651654            {
     
    653656                {
    654657                    cout << "Conditional execution... detected existing rows!\n";
    655                     cout << "Exit." << endl;
     658                    cout << "Exit.\n" << endl;
    656659                }
    657660                return 0;
     
    665668        return 7;
    666669    }
    667 
    668     if (print_select)
    669         cout << "SELECT 1 FROM `"+table+"` WHERE 1" << where << " LIMIT 1" << endl;
    670 
    671670
    672671    try
  • trunk/FACT++/src/root2sql.cc

    r19152 r19153  
    689689                {
    690690                    cout << "Conditional execution... detected existing rows!\n";
    691                     cout << "Exit." << endl;
     691                    cout << "Exit.\n" << endl;
    692692                }
    693693                return 0;
Note: See TracChangeset for help on using the changeset viewer.