Changeset 16150
- Timestamp:
- Jan 18, 2008, 4:21:32 PM (18 years ago)
- File:
-
- 1 edited
-
branches/end_stage/ippTools/src/regtool.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/end_stage/ippTools/src/regtool.c
r16148 r16150 621 621 psFree(output); 622 622 623 // carry through these values 624 // new CLI options overwrite existing values 625 workdir = workdir ? workdir : newExp->workdir; 626 reduction = reduction ? reduction : newExp->reduction; 627 dvodb = dvodb ? dvodb : newExp->dvodb; 628 tess_id = tess_id ? tess_id : newExp->tess_id; 629 end_stage = end_stage ? end_stage : newExp->end_stage; 630 631 psFree(newExp); 632 623 633 if (!rawExpInsert(config->dbh, 624 634 (psS64)atoll(exp_id), … … 630 640 exp_type, 631 641 filelevel, 632 workdir ? workdir : newExp->workdir,633 reduction ? reduction : newExp->reduction,634 dvodb ? dvodb : newExp->dvodb,635 tess_id ? tess_id : newExp->tess_id,636 end_stage ? end_stage : newExp->end_stage,642 workdir, 643 reduction, 644 dvodb, 645 tess_id, 646 end_stage, 637 647 filter, 638 648 comment, … … 684 694 } 685 695 psError(PS_ERR_UNKNOWN, false, "database error"); 686 psFree(newExp);687 696 return false; 688 697 } … … 695 704 } 696 705 psError(PS_ERR_UNKNOWN, false, "failed to change newExp.state for exp_id: %s", exp_id); 697 psFree(newExp);698 706 return false; 699 707 } … … 704 712 // this can only be run as the newExp's state has been set to stop 705 713 if (!pxchipQueueByExpTag(config, 706 newExp->exp_id,707 newExp->workdir,714 (psS64)atoll(exp_id), 715 workdir, 708 716 NULL, // label 709 newExp->reduction,717 reduction, 710 718 NULL, // expgroup 711 719 dvodb, … … 718 726 } 719 727 psError(PS_ERR_UNKNOWN, false, "failed to queue chipPendingExp"); 720 psFree(newExp); 721 return false; 722 } 723 psFree(newExp); 728 return false; 729 } 724 730 725 731 if (!psDBCommit(config->dbh)) {
Note:
See TracChangeset
for help on using the changeset viewer.
