Changeset 26956 for trunk/ippTools/src
- Timestamp:
- Feb 15, 2010, 3:49:50 PM (16 years ago)
- Location:
- trunk/ippTools/src
- Files:
-
- 2 edited
-
pubtool.c (modified) (2 diffs)
-
pubtoolConfig.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/pubtool.c
r25932 r26956 156 156 // optional 157 157 PXOPT_COPY_S64(config->args, where, "-client_id", "client_id", "=="); 158 PXOPT_COPY_STR(config->args, where, "-label", "label", "=="); 159 160 PXOPT_LOOKUP_STR(label, config->args, "-label", false, false); 158 pxAddLabelSearchArgs (config, where, "-label", "label", "=="); // define using newExp label 161 159 162 160 psString query = pxDataGet("pubtool_definerun.sql"); // Query to run … … 211 209 psS64 client = psMetadataLookupS64(NULL, row, "client_id"); // Client identifier 212 210 psS64 stage = psMetadataLookupS64(NULL, row, "stage_id"); // Stage identifier 211 char *label = psMetadataLookupStr(NULL, row, "src_label"); // label from correct source 213 212 214 213 if (!publishRunInsert(config->dbh, 0, client, stage, label, "new")) { -
trunk/ippTools/src/pubtoolConfig.c
r25929 r26956 62 62 psMetadata *definerunArgs = psMetadataAlloc(); 63 63 psMetadataAddS64(definerunArgs, PS_LIST_TAIL, "-client_id", 0, "search by client_id", 0); 64 psMetadataAddStr(definerunArgs, PS_LIST_TAIL, "-label", 0, "set and search by label", NULL);64 psMetadataAddStr(definerunArgs, PS_LIST_TAIL, "-label", PS_META_DUPLICATE_OK, "set and search by label", NULL); 65 65 66 66 // -pending
Note:
See TracChangeset
for help on using the changeset viewer.
