Changeset 41549 for trunk/ippTools/src/pubtool.c
- Timestamp:
- Apr 9, 2021, 4:44:03 PM (5 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/pubtool.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/pubtool.c
r30769 r41549 324 324 PXOPT_LOOKUP_U64(limit, config->args, "-limit", false, false); 325 325 PXOPT_LOOKUP_BOOL(simple, config->args, "-simple", false); 326 PXOPT_LOOKUP_BOOL(all, config->args, "-all", false); 326 327 327 328 psString query = pxDataGet("pubtool_pending.sql"); … … 337 338 psStringAppend(&whereClause, "\nAND %s", clause); 338 339 psFree(clause); 340 } else { 341 if (!all) { 342 psError(PXTOOLS_ERR_SYS, false, "unrestricted query not allowed (try -all)"); 343 return false; 344 } 339 345 } 340 346 psFree(where);
Note:
See TracChangeset
for help on using the changeset viewer.
