Changeset 28270 for trunk/ippTools/src/disttool.c
- Timestamp:
- Jun 9, 2010, 11:40:24 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/disttool.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/disttool.c
r28259 r28270 148 148 PXOPT_LOOKUP_BOOL(pretend, config->args, "-pretend", false); 149 149 150 if (use_alternate) { 150 if (use_alternate) { 151 151 if (strcmp(stage, "raw")) { 152 152 psError(PXTOOLS_ERR_SYS, true, "alternate inputs only supported for raw stage"); … … 299 299 query = pxDataGet("disttool_definebyquery_SSdiff.sql"); 300 300 if (!query) { 301 psError(PXTOOLS_ERR_SYS, false, "failed to retrieve SQL statement");302 psFree(where);303 return(false);301 psError(PXTOOLS_ERR_SYS, false, "failed to retrieve SQL statement"); 302 psFree(where); 303 return(false); 304 304 } 305 305 306 306 if (label) { 307 psStringAppend(&query, " AND (diffRun.label = '%s') ", label);307 psStringAppend(&query, " AND (diffRun.label = '%s') ", label); 308 308 } 309 309 if (dist_group) { 310 psStringAppend(&query, " AND (diffRun.dist_group = '%s') ", dist_group);310 psStringAppend(&query, " AND (diffRun.dist_group = '%s') ", dist_group); 311 311 } 312 312 313 no_magic = true; 313 no_magic = true; 314 314 } else { 315 315 psError(PS_ERR_UNKNOWN, true, "unknown value for stage: %s", stage); … … 537 537 538 538 if (extraWhere) { 539 psStringAppend(&query, extraWhere);539 psStringAppend(&query, "%s", extraWhere); 540 540 } 541 541 if (clean) { … … 1703 1703 return false; 1704 1704 } 1705 1705 1706 1706 1707 1707 PXOPT_LOOKUP_STR(state, config->args, "-set_state", false, false);
Note:
See TracChangeset
for help on using the changeset viewer.
