Changeset 23566 for trunk/ippTools/src/disttool.c
- Timestamp:
- Mar 26, 2009, 2:03:56 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/disttool.c (modified) (2 diffs)
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);
Note:
See TracChangeset
for help on using the changeset viewer.
