Changeset 25567 for trunk/ippTools
- Timestamp:
- Sep 24, 2009, 4:27:56 PM (17 years ago)
- Location:
- trunk/ippTools
- Files:
-
- 3 edited
-
share/disttool_pendingfileset.sql (modified) (1 diff)
-
src/disttool.c (modified) (6 diffs)
-
src/disttoolConfig.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/share/disttool_pendingfileset.sql
r25493 r25567 6 6 CONCAT_WS('.', distRun.outroot, CONVERT(distRun.dist_id, CHAR)) as dist_dir, 7 7 rcDestination.name AS product_name, 8 rcDestination. prod_id,8 rcDestination.dest_id, 9 9 rcDestination.dbname AS ds_dbname, 10 10 rcDestination.dbhost AS ds_dbhost -
trunk/ippTools/src/disttool.c
r25517 r25567 903 903 // required values 904 904 PXOPT_LOOKUP_S64(dist_id, config->args, "-dist_id", true, false); 905 PXOPT_LOOKUP_S64( prod_id, config->args, "-prod_id", true, false);905 PXOPT_LOOKUP_S64(dest_id, config->args, "-dest_id", true, false); 906 906 907 907 PXOPT_LOOKUP_S16(fault, config->args, "-fault", false, false); … … 913 913 0, // fs_id 914 914 dist_id, 915 prod_id,915 dest_id, 916 916 name, 917 917 "full", … … 928 928 PXOPT_COPY_S64(config->args, where, "-fs_id", "fs_id", "=="); 929 929 PXOPT_COPY_S64(config->args, where, "-dist_id", "rcDSFileset.dist_id", "=="); 930 PXOPT_COPY_S64(config->args, where, "- prod_id", "prod_id", "==");930 PXOPT_COPY_S64(config->args, where, "-dest_id", "dest_id", "=="); 931 931 PXOPT_COPY_STR(config->args, where, "-stage", "stage", "==");; 932 932 PXOPT_COPY_S64(config->args, where, "-stage_id", "stage_id", "=="); … … 1056 1056 PXOPT_COPY_S64(config->args, where, "-dist_id", "dist_id", "=="); 1057 1057 PXOPT_COPY_S64(config->args, where, "-dest_id", "dest_id", "=="); 1058 PXOPT_COPY_S64(config->args, where, "-prod_id", "prod_id", "==");1059 1058 PXOPT_COPY_S64(config->args, where, "-target_id","target_id", "=="); 1060 1059 PXOPT_COPY_S64(config->args, where, "-fs_id", "fs_id", "=="); … … 1455 1454 psMetadata *where = psMetadataAlloc(); 1456 1455 PXOPT_COPY_S64(config->args, where, "-dest_id", "dest_id", "=="); 1457 PXOPT_COPY_S64(config->args, where, "-prod_id", "prod_id", "==");1458 1456 1459 1457 PXOPT_LOOKUP_STR(state, config->args, "-set_state", false, false); … … 1477 1475 // last_fileset normally gets set by updatercrunMode 1478 1476 // Allowing it to be set here might cause problems 1479 // especially since we are allowing selection by prod_id1477 // especially since we are allowing selection by dest_id 1480 1478 if (last_fileset) { 1481 1479 psStringAppend(&query, " %s last_fileset = '%s'", sep, last_fileset); -
trunk/ippTools/src/disttoolConfig.c
r25510 r25567 146 146 psMetadata *addfilesetArgs = psMetadataAlloc(); 147 147 psMetadataAddS64(addfilesetArgs, PS_LIST_TAIL, "-dist_id", 0, "define dist_id", 0); 148 psMetadataAddS64(addfilesetArgs, PS_LIST_TAIL, "- prod_id", 0, "define prod_id", 0);148 psMetadataAddS64(addfilesetArgs, PS_LIST_TAIL, "-dest_id", 0, "define dest_id", 0); 149 149 psMetadataAddStr(addfilesetArgs, PS_LIST_TAIL, "-name", 0, "define file name", NULL); 150 150 psMetadataAddS32(addfilesetArgs, PS_LIST_TAIL, "-fault", 0, "define fault code", 0); … … 161 161 psMetadataAddS64(revertfilesetArgs, PS_LIST_TAIL, "-fs_id", 0, "define fs_id", 0); 162 162 psMetadataAddS64(revertfilesetArgs, PS_LIST_TAIL, "-dist_id", 0, "define dist_id", 0); 163 psMetadataAddS64(revertfilesetArgs, PS_LIST_TAIL, "- prod_id", 0, "define dist_id", 0);163 psMetadataAddS64(revertfilesetArgs, PS_LIST_TAIL, "-dest_id", 0, "define dist_id", 0); 164 164 psMetadataAddStr(revertfilesetArgs, PS_LIST_TAIL, "-stage", 0, "define stage", NULL); 165 165 psMetadataAddS64(revertfilesetArgs, PS_LIST_TAIL, "-stage_id",0, "define stage_id", 0); … … 173 173 psMetadataAddS64(queuercrunArgs, PS_LIST_TAIL, "-dist_id", 0, "define dist_id", 0); 174 174 psMetadataAddS64(queuercrunArgs, PS_LIST_TAIL, "-dest_id", 0, "define dest_id", 0); 175 psMetadataAddS64(queuercrunArgs, PS_LIST_TAIL, "-prod_id", 0, "define prod_id", 0);176 175 psMetadataAddS64(queuercrunArgs, PS_LIST_TAIL, "-target_id", 0, "define target_id", 0); 177 176 psMetadataAddS64(queuercrunArgs, PS_LIST_TAIL, "-fs_id", 0, "define fs_id", 0);
Note:
See TracChangeset
for help on using the changeset viewer.
