Changeset 33989 for trunk/ippTools/src
- Timestamp:
- Jun 7, 2012, 11:42:36 AM (14 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/addtool.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/addtool.c
r33779 r33989 292 292 // } 293 293 if (strcmp(stage,"staticsky") == 0) { 294 psStringAppend(&query, " GROUP BY sky_id "); //some reason it needs this294 psStringAppend(&query, " GROUP BY sky_id, stack_id"); //some reason it needs this 295 295 } 296 296 … … 525 525 psS64 stage_id =0; 526 526 bool status = false; 527 psS32 num_inputs = psMetadataLookupS32(&status, md, "num_inputs"); 527 //psS32 num_inputs = psMetadataLookupS32(&status, md, "num_inputs"); 528 psS32 stack_id = psMetadataLookupS32(&status, md, "stack_id"); 529 528 530 if (!status) { 529 psError(PS_ERR_UNKNOWN, true, "failed to lookup value for item num_inputs");531 psError(PS_ERR_UNKNOWN, true, "failed to lookup value for item stack_id"); 530 532 return false; 531 533 } … … 540 542 541 543 // queue the exp 542 for (int filter_id = 0; filter_id < num_inputs; filter_id++) {543 if (!pxaddQueueByCamID(config,544 //for (int filter_id = 0; filter_id < num_inputs; filter_id++) { 545 if (!pxaddQueueByCamID(config, 544 546 stage, 545 stage_id,546 filter_id,547 stage_id, 548 stack_id, 547 549 workdir ? workdir : row->workdir, 548 550 reduction ? reduction : row->reduction, … … 555 557 minidvodb_group, 556 558 minidvodb_name 557 )) {559 )) { 558 560 if (!psDBRollback(config->dbh)) { 559 psError(PS_ERR_UNKNOWN, false, "database error sfg");561 psError(PS_ERR_UNKNOWN, false, "database error sfg"); 560 562 } 561 563 psError(PS_ERR_UNKNOWN, false, … … 564 566 psFree(output); 565 567 return false; 566 }567 }568 } 569 //} 568 570 psFree(row); 569 571 }
Note:
See TracChangeset
for help on using the changeset viewer.
