Changeset 27838 for branches/tap_branches/ippTools/src/dettool_residexp.c
- Timestamp:
- May 3, 2010, 8:41:49 AM (16 years ago)
- Location:
- branches/tap_branches
- Files:
-
- 3 edited
-
. (modified) (1 prop)
-
ippTools/src (modified) (1 prop)
-
ippTools/src/dettool_residexp.c (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/tap_branches
- Property svn:mergeinfo changed
-
branches/tap_branches/ippTools/src
- Property svn:ignore
-
old new 16 16 difftool 17 17 disttool 18 dqstatstool 18 19 faketool 19 20 flatcorr
-
- Property svn:ignore
-
branches/tap_branches/ippTools/src/dettool_residexp.c
r23688 r27838 35 35 psString query = pxDataGet("dettool_toresidexp.sql"); 36 36 if (!query) { 37 psError(PXTOOLS_ERR_ DATA, false, "failed to retreive SQL statement");37 psError(PXTOOLS_ERR_SYS, false, "failed to retreive SQL statement"); 38 38 return false; 39 39 } … … 119 119 psString query = pxDataGet("dettool_toresidexp.sql"); 120 120 if (!query) { 121 psError(PXTOOLS_ERR_ DATA, false, "failed to retreive SQL statement");121 psError(PXTOOLS_ERR_SYS, false, "failed to retreive SQL statement"); 122 122 return false; 123 123 } … … 202 202 psString query = pxDataGet("dettool_residexp.sql"); 203 203 if (!query) { 204 psError(PXTOOLS_ERR_ DATA, false, "failed to retreive SQL statement");204 psError(PXTOOLS_ERR_SYS, false, "failed to retreive SQL statement"); 205 205 return false; 206 206 } … … 277 277 psString query = pxDataGet("dettool_revertresidexp.sql"); 278 278 if (!query) { 279 psError(PXTOOLS_ERR_ DATA, false, "failed to retreive SQL statement");279 psError(PXTOOLS_ERR_SYS, false, "failed to retreive SQL statement"); 280 280 return false; 281 281 } … … 353 353 } 354 354 355 bool updatestateresidMode(pxConfig *config) { 356 PS_ASSERT_PTR_NON_NULL(config, NULL); 357 PXOPT_LOOKUP_S64(det_id,config->args, "-det_id",true,false); 358 PXOPT_LOOKUP_STR(data_state,config->args, "-data_state", true, false); 359 360 psMetadata *where = psMetadataAlloc(); 361 362 PXOPT_COPY_S64(config->args,where,"-det_id","det_id","=="); 363 PXOPT_COPY_S64(config->args,where,"-exp_id","exp_id","=="); 364 365 if (!setResidExpDataState(config,where,data_state)) { 366 return(false); 367 } 368 if (!setResidImfileDataState(config,where,data_state)) { 369 return(false); 370 } 371 psFree(where); 372 return(true); 373 } 374 355 375 bool pendingcleanup_residexpMode(pxConfig *config) 356 376 { … … 367 387 psString query = pxDataGet("dettool_pendingcleanup_residexp.sql"); 368 388 if (!query) { 369 psError(PXTOOLS_ERR_ DATA, false, "failed to retreive SQL statement");389 psError(PXTOOLS_ERR_SYS, false, "failed to retreive SQL statement"); 370 390 return false; 371 391 } … … 430 450 psString query = pxDataGet("dettool_donecleanup_residexp.sql"); 431 451 if (!query) { 432 psError(PXTOOLS_ERR_ DATA, false, "failed to retreive SQL statement");452 psError(PXTOOLS_ERR_SYS, false, "failed to retreive SQL statement"); 433 453 return false; 434 454 }
Note:
See TracChangeset
for help on using the changeset viewer.
