- Timestamp:
- May 3, 2010, 8:50:52 AM (16 years ago)
- Location:
- branches/simtest_nebulous_branches
- Files:
-
- 3 edited
-
. (modified) (1 prop)
-
ippTools/src (modified) (1 prop)
-
ippTools/src/dettool_processedexp.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/simtest_nebulous_branches
- Property svn:mergeinfo changed
-
branches/simtest_nebulous_branches/ippTools/src
- Property svn:ignore
-
old new 1 *.la 2 *.lo 1 3 .deps 2 4 .gdb_history … … 4 6 Makefile 5 7 Makefile.in 8 addtool 9 caltool 10 camtool 11 chiptool 6 12 config.h 7 13 config.h.in 8 stamp-h1 9 *.la 10 *.lo 14 detselect 15 dettool 16 difftool 17 disttool 18 dqstatstool 19 faketool 20 flatcorr 21 guidetool 22 magicdstool 23 magictool 24 pstamptool 25 pubtool 26 pxadmin 27 pxdata.c 28 pxinject 11 29 pxtoolsErrorCodes.c 12 30 pxtoolsErrorCodes.h 13 pxadmin14 pxinject15 pztool16 31 pzgetexp 17 32 pzgetimfiles 33 pztool 34 receivetool 18 35 regtool 19 guidetool 20 chiptool 21 camtool 36 stacktool 37 stamp-h1 22 38 warptool 23 difftool24 stacktool25 faketool26 dettool27 detselect28 pxdata.c29 magictool30 magicdstool31 caltool32 flatcorr33 pstamptool34 disttool35 receivetool36 37 pubtool
-
- Property svn:ignore
-
branches/simtest_nebulous_branches/ippTools/src/dettool_processedexp.c
r23688 r27840 29 29 psString query = pxDataGet("dettool_toprocessedexp.sql"); 30 30 if (!query) { 31 psError(PXTOOLS_ERR_ DATA, false, "failed to retreive SQL statement");31 psError(PXTOOLS_ERR_SYS, false, "failed to retreive SQL statement"); 32 32 return false; 33 33 } … … 101 101 psString query = pxDataGet("dettool_addprocessedexp.sql"); 102 102 if (!query) { 103 psError(PXTOOLS_ERR_ DATA, false, "failed to retreive SQL statement");103 psError(PXTOOLS_ERR_SYS, false, "failed to retreive SQL statement"); 104 104 return false; 105 105 } … … 235 235 psString query = pxDataGet("dettool_revertprocessedexp.sql"); 236 236 if (!query) { 237 psError(PXTOOLS_ERR_ DATA, false, "failed to retreive SQL statement");237 psError(PXTOOLS_ERR_SYS, false, "failed to retreive SQL statement"); 238 238 return false; 239 239 } … … 266 266 267 267 PXOPT_LOOKUP_S64(det_id, config->args, "-det_id", true, false); 268 PXOPT_LOOKUP_S64(exp_id, config->args, "-exp_id", true, false);269 268 PXOPT_LOOKUP_STR(data_state, config->args, "-data_state", true, false); 270 if (!setProcessedExpDataState(config, det_id, exp_id, data_state)) { 271 return false; 272 } 273 return true; 269 270 psMetadata *where = psMetadataAlloc(); 271 272 PXOPT_COPY_S64(config->args,where,"-det_id","det_id","=="); 273 PXOPT_COPY_S64(config->args,where,"-exp_id","exp_id","=="); 274 275 if (!setProcessedExpDataState(config, where, data_state)) { 276 return false; 277 } 278 psFree(where); 279 return true; 280 } 281 282 bool updatestateprocessedMode(pxConfig *config) { 283 PS_ASSERT_PTR_NON_NULL(config, NULL); 284 PXOPT_LOOKUP_S64(det_id,config->args, "-det_id",true,false); 285 PXOPT_LOOKUP_STR(data_state,config->args, "-data_state", true, false); 286 287 psMetadata *where = psMetadataAlloc(); 288 289 PXOPT_COPY_S64(config->args,where,"-det_id","det_id","=="); 290 PXOPT_COPY_S64(config->args,where,"-exp_id","exp_id","=="); 291 292 if (!setProcessedExpDataState(config,where,data_state)) { 293 return(false); 294 } 295 if (!setProcessedImfileDataState(config,where,data_state)) { 296 return(false); 297 } 298 psFree(where); 299 return(true); 274 300 } 275 301 … … 287 313 psString query = pxDataGet("dettool_pendingcleanup_processedexp.sql"); 288 314 if (!query) { 289 psError(PXTOOLS_ERR_ DATA, false, "failed to retreive SQL statement");315 psError(PXTOOLS_ERR_SYS, false, "failed to retreive SQL statement"); 290 316 return false; 291 317 } … … 349 375 psString query = pxDataGet("dettool_donecleanup_processedexp.sql"); 350 376 if (!query) { 351 psError(PXTOOLS_ERR_ DATA, false, "failed to retreive SQL statement");377 psError(PXTOOLS_ERR_SYS, false, "failed to retreive SQL statement"); 352 378 return false; 353 379 }
Note:
See TracChangeset
for help on using the changeset viewer.
