Changeset 27282 for trunk/ippTools/src/pstamptool.c
- Timestamp:
- Mar 15, 2010, 11:44:09 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/pstamptool.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/pstamptool.c
r27182 r27282 147 147 PXOPT_COPY_S64(config->args, where, "-ds_id", "ds_id", "=="); 148 148 149 PXOPT_LOOKUP_BOOL(ready, config->args, "-ready", false); 149 150 PXOPT_LOOKUP_BOOL(simple, config->args, "-simple", false); 150 151 … … 161 162 } 162 163 psFree(where); 164 if (ready) { 165 psStringAppend(&query, " %s", "\nAND TIMESTAMPDIFF(SECOND, timestamp, now()) > pollInterval"); 166 } 163 167 164 168 if (!p_psDBRunQuery(config->dbh, query)) { … … 201 205 202 206 if (!state && !lastFileset && !pollInterval && !update_timestamp && !label) { 203 psError(PS_ERR_UNKNOWN, true, "at least one of -last_fileset or -s tate is required");207 psError(PS_ERR_UNKNOWN, true, "at least one of -last_fileset or -set_state is required"); 204 208 return false; 205 209 }
Note:
See TracChangeset
for help on using the changeset viewer.
