IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 26, 2008, 3:39:54 PM (18 years ago)
Author:
jhoblitt
Message:

consitently handle *_id fields as numeric values instead of converting back of forth between ints and strings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/dettool.c

    r18157 r18336  
    459459    }
    460460
    461     if (!convertIdToStr(detRuns)) {
    462         psError(PS_ERR_UNKNOWN, false, "failed to convert id fields into a strings");
    463         psFree(detRuns);
    464         return false;
    465     }
    466 
    467461    // negative simple so the default is true
    468462    if (!ippdbPrintMetadatas(stdout, detRuns, "detRun", !simple)) {
     
    722716    }
    723717
    724     // convert det_id to a string externaly
    725     if (!convertIdToStr(detRuns)) {
    726         psError(PS_ERR_UNKNOWN, false, "failed to convert det_id to a string");
    727         psFree(detRuns);
    728         return false;
    729     }
    730 
    731718    // negative simple so the default is true
    732719    if (!ippdbPrintMetadatas(stdout, detRuns, "detRun", !simple)) {
     
    10151002    }
    10161003
    1017     // convert det_id to a string externaly
    1018     if (!convertIdToStr(detRuns)) {
    1019         psError(PS_ERR_UNKNOWN, false, "failed to convert id fields into a strings");
    1020         psFree(detRuns);
    1021         return false;
    1022     }
    1023 
    10241004    // negative simple so the default is true
    10251005    if (!ippdbPrintMetadatas(stdout, newDetRuns, "detRun", !simple)) {
     
    11141094        psFree(runs);
    11151095        return true;
    1116     }
    1117 
    1118     // convert det_id to a string externaly
    1119     if (!convertIdToStr(runs)) {
    1120         psError(PS_ERR_UNKNOWN, false, "failed to convert id fields into a strings");
    1121         psFree(runs);
    1122         return false;
    11231096    }
    11241097
     
    11831156        psFree(output);
    11841157        return true;
    1185     }
    1186 
    1187     // convert det_id to a string externaly
    1188     if (!convertIdToStr(output)) {
    1189         psError(PS_ERR_UNKNOWN, false, "failed to convert id fields into a strings");
    1190         psFree(output);
    1191         return false;
    11921158    }
    11931159
     
    42854251    }
    42864252
    4287     if (!convertIdToStr(detRuns)) {
    4288         psError(PS_ERR_UNKNOWN, false, "failed to convert id fields into a strings");
    4289         psFree(detRuns);
    4290         return false;
    4291     }
    4292 
    42934253    // negative simple so the default is true
    42944254    if (!ippdbPrintMetadatas(stdout, detRuns, "detRun", !simple)) {
Note: See TracChangeset for help on using the changeset viewer.