Changeset 32696 for trunk/ippTools/src/disttool.c
- Timestamp:
- Nov 17, 2011, 2:20:59 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/disttool.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/disttool.c
r32680 r32696 164 164 PXOPT_LOOKUP_STR(dist_group, config->args, "-dist_group", false, false); 165 165 166 PXOPT_LOOKUP_BOOL(single, config->args, "-singlefilter", false); 167 166 168 if (use_alternate) { 167 169 if (strcmp(stage, "raw")) { … … 354 356 } else if (!strcmp(stage, "sky")) { 355 357 magicRunType = "staticskyRun"; 356 query = pxDataGet("disttool_definebyquery_sky.sql"); 358 if (single) { 359 query = pxDataGet("disttool_definebyquery_sky_singlefilter.sql"); 360 } else { 361 query = pxDataGet("disttool_definebyquery_sky.sql"); 362 } 357 363 if (!query) { 358 364 psError(PXTOOLS_ERR_SYS, false, "failed to retreive SQL statement"); … … 411 417 if (!no_magic) { 412 418 psStringAppend(&query, " AND (%s.magicked > 0)", magicRunType); 419 } 420 421 if (!strcmp(stage, "sky") && single) { 422 psStringAppend(&query, "\nGROUP BY sky_id HAVING count(stack_id) = 1"); 413 423 } 414 424
Note:
See TracChangeset
for help on using the changeset viewer.
