Changeset 27856 for trunk/ippTools/src/pstamptool.c
- Timestamp:
- May 4, 2010, 10:50:29 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/pstamptool.c (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/pstamptool.c
r27795 r27856 302 302 psFree(where); 303 303 304 psStringAppend(&query, " ORDER BY priority DESC, req_id"); 305 304 306 // treat limit == 0 as "no limit" 305 307 if (limit) { … … 421 423 } 422 424 psFree(where); 425 426 psStringAppend(&query, " ORDER BY priority DESC, req_id"); 423 427 424 428 // treat limit == 0 as "no limit" … … 705 709 PXOPT_COPY_S64(config->args, where, "-job_id", "job_id", "=="); 706 710 PXOPT_COPY_S64(config->args, where, "-req_id", "req_id", "=="); 707 pxAddLabelSearchArgs(config, where, "-label", " label", "LIKE");711 pxAddLabelSearchArgs(config, where, "-label", "pstampRequest.label", "LIKE"); 708 712 709 713 PXOPT_LOOKUP_U64(limit, config->args, "-limit", false, false); … … 723 727 } 724 728 psFree(where); 729 730 psStringAppend(&query, " ORDER BY priority DESC, req_id"); 725 731 726 732 // treat limit == 0 as "no limit" … … 968 974 PXOPT_LOOKUP_STR(imagedb, config->args, "-imagedb", true, false); 969 975 PXOPT_LOOKUP_STR(rlabel, config->args, "-rlabel", true, false); 976 PXOPT_LOOKUP_STR(outdir, config->args, "-outdir", true, false); 970 977 PXOPT_LOOKUP_BOOL(need_magic, config->args, "-need_magic", false); 971 978 PXOPT_LOOKUP_BOOL(no_create, config->args, "-no_create", false); … … 1046 1053 rlabel, 1047 1054 need_magic, 1055 outdir, 1048 1056 0 // fault 1049 1057 )) { … … 1087 1095 PXOPT_COPY_STR(config->args, where, "-imagedb", "imagedb", "=="); 1088 1096 PXOPT_COPY_S64(config->args, where, "-stage_id", "stage_id", "=="); 1097 PXOPT_COPY_S64(config->args, where, "-dep_id", "dep_id", "=="); 1089 1098 PXOPT_COPY_STR(config->args, where, "-rlabel", "rlabel", "=="); 1090 1099 pxAddLabelSearchArgs(config, where, "-label", "pstampRequest.label", "=="); … … 1105 1114 } 1106 1115 psFree(where); 1116 1117 psStringAppend(&query, " ORDER BY priority DESC, req_id"); 1107 1118 1108 1119 // treat limit == 0 as "no limit"
Note:
See TracChangeset
for help on using the changeset viewer.
