Changeset 28319 for trunk/ippTools/src/pubtool.c
- Timestamp:
- Jun 14, 2010, 5:02:11 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/pubtool.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/pubtool.c
r27071 r28319 157 157 // optional 158 158 PXOPT_COPY_S64(config->args, where, "-client_id", "client_id", "=="); 159 pxAddLabelSearchArgs(config, where, "-label", "label", "=="); // define using newExp label 159 pxAddLabelSearchArgs(config, where, "-label", "label", "=="); 160 pxAddLabelSearchArgs(config, where, "-data_group", "data_group", "=="); 161 PXOPT_COPY_TIME(config->args, where, "-dateobs_begin", "rawExp.dateobs", ">="); 162 PXOPT_COPY_TIME(config->args, where, "-dateobs_end", "rawExp.dateobs", "<="); 163 PXOPT_COPY_STR(config->args, where, "-filter", "rawExp.filter", "LIKE"); 164 PXOPT_COPY_STR(config->args, where, "-obs_mode", "rawExp.obs_mode", "LIKE"); 165 166 PXOPT_LOOKUP_BOOL(rerun, config->args, "-rerun", false); 160 167 161 168 psString query = pxDataGet("pubtool_definerun.sql"); // Query to run … … 164 171 psFree(where); 165 172 return false; 173 } 174 175 if (!rerun) { 176 psStringAppend(&query, "WHERE publishRun.client_id IS NULL"); 166 177 } 167 178 … … 241 252 PXOPT_COPY_STR(config->args, where, "-stage", "publishClient.stage", "=="); 242 253 PXOPT_COPY_STR(config->args, where, "-comment", "publishClient.comment", "LIKE"); 243 PXOPT_COPY_STR(config->args, where, "-label", "publishRun.label", "==");254 pxAddLabelSearchArgs(config, where, "-label", "label", "=="); 244 255 245 256 // optional
Note:
See TracChangeset
for help on using the changeset viewer.
