Changeset 35437 for trunk/ippTools/src/releasetool.c
- Timestamp:
- Apr 26, 2013, 1:49:30 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/releasetool.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/releasetool.c
r35397 r35437 702 702 PXOPT_COPY_STR(config->args, where, "-cam_data_group", "camRun.data_group", "LIKE"); 703 703 PXOPT_COPY_STR(config->args, where, "-warp_data_group", "warpRun.data_group", "LIKE"); 704 PXOPT_COPY_STR(config->args, where, "-tess_id", "warpRun.tess_id", "=="); 705 PXOPT_COPY_STR(config->args, where, "-skycell_id", "warpSkyfile.skycell_id", "=="); 706 707 PXOPT_LOOKUP_STR(skycell_id, config->args, "-skycell_id", false, false); 704 708 705 709 PXOPT_COPY_STR(config->args, where, "-surveyName", "survey.surveyName", "LIKE"); … … 715 719 psError(PXTOOLS_ERR_SYS, false, "failed to retreive SQL statement"); 716 720 return false; 721 } 722 723 if (skycell_id) { 724 psStringAppend(&query, "\nJOIN warpSkyfile ON warpRun.warp_id = warpSkyfile.warp_id AND warpRun.tess_id = warpSkyfile.tess_id"); 717 725 } 718 726 … … 741 749 742 750 if (priority_order) { 743 psStringAppend(&query, "\nAND priority > 0 order by exp_id, priority ");751 psStringAppend(&query, "\nAND priority > 0 order by exp_id, priority DESC"); 744 752 } 745 753 … … 1018 1026 1019 1027 if (priority_order) { 1020 psStringAppend(&query, "\nAND priority > 0 order by stack_id, priority ");1028 psStringAppend(&query, "\nAND priority > 0 order by stack_id, priority DESC"); 1021 1029 } 1022 1030
Note:
See TracChangeset
for help on using the changeset viewer.
