- Timestamp:
- Jul 30, 2010, 9:31:50 AM (16 years ago)
- Location:
- branches/eam_branches/ipp-20100621/ippTools/src
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
pstamptool.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20100621/ippTools/src
- Property svn:ignore
-
old new 39 39 warptool 40 40 staticskytool 41 41 bgtool 42 42 diffphottool
-
- Property svn:ignore
-
branches/eam_branches/ipp-20100621/ippTools/src/pstamptool.c
r28308 r28794 206 206 PXOPT_LOOKUP_S64(ds_id, config->args, "-ds_id", true, false); 207 207 PXOPT_LOOKUP_STR(lastFileset, config->args, "-set_last_fileset", false, false); 208 PXOPT_LOOKUP_STR(uri, config->args, "-set_uri", false, false); 208 209 PXOPT_LOOKUP_STR(state, config->args, "-set_state", false, false); 209 210 PXOPT_LOOKUP_STR(label, config->args, "-set_label", false, false); … … 211 212 PXOPT_LOOKUP_BOOL(update_timestamp, config->args, "-update_timestamp", false); 212 213 213 if (!state && !lastFileset && !pollInterval && !update_timestamp && !label ) {214 if (!state && !lastFileset && !pollInterval && !update_timestamp && !label &&!uri) { 214 215 psError(PS_ERR_UNKNOWN, true, "at least one of -last_fileset or -set_state is required"); 215 216 return false; … … 222 223 } 223 224 225 if (uri) { 226 psStringAppend(&query, ", uri = '%s'", uri); 227 } 224 228 if (state) { 225 229 psStringAppend(&query, ", state = '%s'", state); … … 738 742 PXOPT_COPY_S64(config->args, where, "-job_id", "job_id", "=="); 739 743 PXOPT_COPY_S64(config->args, where, "-req_id", "req_id", "=="); 744 PXOPT_COPY_S64(config->args, where, "-dep_id", "dep_id", "=="); 740 745 PXOPT_COPY_S64(config->args, where, "-fault", "fault", "=="); 741 746 … … 891 896 PXOPT_COPY_S64(config->args, where, "-req_id", "req_id", "=="); 892 897 PXOPT_COPY_S64(config->args, where, "-dep_id", "dep_id", "=="); 898 PXOPT_COPY_S32(config->args, where, "-fault", "pstampJob.fault", "=="); 893 899 PXOPT_COPY_STR(config->args, where, "-state", "pstampJob.state", "=="); 894 900
Note:
See TracChangeset
for help on using the changeset viewer.
