Changeset 15528 for trunk/Mars


Ignore:
Timestamp:
05/07/13 23:47:17 (12 years ago)
Author:
Daniela Dorner
Message:
updated return values to needs of script
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/fact/processing/numevents.C

    r15515 r15528  
    3434    TSQLResult *res = serv.Query(query);
    3535    if (!res)
    36         return 0;
     36    {
     37        cout << "ERROR - no result from query " << query << endl;
     38        return 2;
     39    }
    3740
    3841    //allocate variables to use in the loop
     
    236239
    237240
    238     return 0;
     241    return 1;
    239242}
Note: See TracChangeset for help on using the changeset viewer.