Changeset 35955 for trunk/ippTools/src
- Timestamp:
- Aug 15, 2013, 1:29:16 PM (13 years ago)
- Location:
- trunk/ippTools/src
- Files:
-
- 2 edited
-
disttool.c (modified) (1 diff)
-
pstamptool.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/disttool.c
r35193 r35955 375 375 } 376 376 if (dist_group) { 377 psStringAppend(&query, " AND (st icskyRun.dist_group = '%s')", dist_group);377 psStringAppend(&query, " AND (staticskyRun.dist_group = '%s')", dist_group); 378 378 } 379 379 // (static)sky stage doesn't require magic 380 magic = false; 381 } else if (!strcmp(stage, "skycal")) { 382 query = pxDataGet("disttool_definebyquery_skycal.sql"); 383 if (!query) { 384 psError(PXTOOLS_ERR_SYS, false, "failed to retreive SQL statement"); 385 psFree(where); 386 return false; 387 } 388 389 if (label) { 390 psStringAppend(&query, " AND (skycalRun.label = '%s')", label); 391 } 392 if (dist_group) { 393 psStringAppend(&query, " AND (skycalRun.dist_group = '%s')", dist_group); 394 } 395 // skycal stage doesn't require magic 380 396 magic = false; 381 397 } else if (!strcmp(stage, "SSdiff")) { -
trunk/ippTools/src/pstamptool.c
r35673 r35955 1428 1428 psFree(where); 1429 1429 1430 psStringAppend(&query, " ORDER BY priority DESC, req_id, dep_id");1430 psStringAppend(&query, " GROUP BY dep_id ORDER BY priority DESC, MIN(req_id), dep_id"); 1431 1431 1432 1432 // treat limit == 0 as "no limit"
Note:
See TracChangeset
for help on using the changeset viewer.
