- Timestamp:
- Jul 17, 2014, 12:36:19 PM (12 years ago)
- Location:
- branches/eam_branches/ipp-ops-20130712
- Files:
-
- 4 edited
-
. (modified) (1 prop)
-
ippTools (modified) (1 prop)
-
ippTools/src (modified) (2 props)
-
ippTools/src/disttool.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-ops-20130712
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-ops-20130712/ippTools
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-ops-20130712/ippTools/src
- Property svn:ignore
-
old new 47 47 sctool 48 48 releasetool 49 fftool 50 remotetool 51
-
- Property svn:mergeinfo deleted
- Property svn:ignore
-
branches/eam_branches/ipp-ops-20130712/ippTools/src/disttool.c
r36122 r37068 413 413 414 414 magic = false; 415 } else if (!strcmp(stage, "ff")) { 416 runJoinStr = "fullForceRun.ff_id"; 417 query = pxDataGet("disttool_definebyquery_ff.sql"); 418 if (!query) { 419 psError(PXTOOLS_ERR_SYS, false, "failed to retrieve SQL statement"); 420 psFree(where); 421 return(false); 422 } 423 424 if (label) { 425 psStringAppend(&query, " AND (fullForceRun.label = '%s') ", label); 426 } 427 if (dist_group) { 428 psStringAppend(&query, " AND (fullForceRun.dist_group = '%s') ", dist_group); 429 } 430 431 magic = false; 415 432 } else { 416 433 psError(PS_ERR_UNKNOWN, true, "unknown value for stage: %s", stage); … … 677 694 PXOPT_COPY_S64(config->args, where, "-stage_id", "stage_id", "=="); 678 695 PXOPT_COPY_STR(config->args, where, "-label", "label", "=="); 679 PXOPT_COPY_STR(config->args, where, "-data_group", "d ata_group", "==");696 PXOPT_COPY_STR(config->args, where, "-data_group", "distRun.data_group", "LIKE"); 680 697 681 698 // require data_group or dist_id to be supplied … … 759 776 760 777 query = "DELETE FROM distComponent where dist_id = %" PRId64; 761 char *query2 = "DELETE from rcDSFileset using distRun, rcDSFileset WHERE distRun.dist_id = rcDSFileset.dist_id AND rcDSFileset.state ='cleaned' AND dist_id = %" PRId64;778 char *query2 = "DELETE from rcDSFileset using distRun, rcDSFileset WHERE distRun.dist_id = rcDSFileset.dist_id AND rcDSFileset.state ='cleaned' AND rcDSFileset.dist_id = %" PRId64; 762 779 763 780 for (long i=0; i < psArrayLength(output); i++) {
Note:
See TracChangeset
for help on using the changeset viewer.
