Changeset 23566 for trunk/ippTools/src
- Timestamp:
- Mar 26, 2009, 2:03:56 PM (17 years ago)
- Location:
- trunk/ippTools/src
- Files:
-
- 2 edited
-
disttool.c (modified) (2 diffs)
-
disttoolConfig.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/disttool.c
r23365 r23566 296 296 PXOPT_LOOKUP_U64(limit, config->args, "-limit", false, false); 297 297 PXOPT_LOOKUP_BOOL(simple, config->args, "-simple", false); 298 PXOPT_LOOKUP_BOOL(need_magic, config->args, "-need_magic", false); 298 299 299 300 // look for "inputs" that need to processed … … 318 319 } 319 320 320 if (!p_psDBRunQuery(config->dbh, query)) { 321 psString chip_magic = ""; 322 psString raw_where = ""; 323 psString chip_where = ""; 324 psString camera_where = ""; 325 psString fake_where = ""; 326 psString warp_where = ""; 327 psString diff_where = ""; 328 psString stack_where = ""; 329 330 if (need_magic) { 331 chip_magic = psStringCopy("\nAND chipRun.magicked"); 332 raw_where = psStringCopy("\nAND rawExp.magicked"); 333 chip_where = psStringCopy("\nAND (distRun.clean OR chipRun.magicked)"); 334 // chipRun must be magicked to allow release camera level masks 335 camera_where = psStringCopy("\nAND (distRun.clean OR chipRun.magicked)"); 336 warp_where = psStringCopy("\nAND (distRun.clean OR warpRun.magicked)"); 337 diff_where = psStringCopy("\nAND (distRun.clean OR diffRun.magicked)"); 338 } 339 340 if (!p_psDBRunQueryF(config->dbh, 341 query, 342 chip_magic, 343 raw_where, 344 chip_where, 345 camera_where, 346 fake_where, 347 warp_where, 348 diff_where, 349 stack_where)) { 321 350 psError(PS_ERR_UNKNOWN, false, "database error"); 322 351 psFree(query); -
trunk/ippTools/src/disttoolConfig.c
r23393 r23566 75 75 psMetadataAddS64(pendingcomponentArgs, PS_LIST_TAIL, "-dist_id", 0, "define dist_id", 0); 76 76 psMetadataAddStr(pendingcomponentArgs, PS_LIST_TAIL, "-stage", 0, "limit results to runs for stage", NULL); 77 psMetadataAddBool(pendingcomponentArgs, PS_LIST_TAIL, "-need_magic", 0, "magic is needed", false); 77 78 psMetadataAddStr(pendingcomponentArgs, PS_LIST_TAIL, "-label", 0, "limit results to label", NULL); 78 79 psMetadataAddU64(pendingcomponentArgs, PS_LIST_TAIL, "-limit", 0, "limit result set to N items", 0);
Note:
See TracChangeset
for help on using the changeset viewer.
