Changeset 13974
- Timestamp:
- Jun 25, 2007, 2:30:38 PM (19 years ago)
- Location:
- trunk/ippTools/src
- Files:
-
- 2 edited
-
dettool.c (modified) (2 diffs)
-
dettoolConfig.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/dettool.c
r13937 r13974 5001 5001 PS_ASSERT_PTR_NON_NULL(config, false); 5002 5002 5003 char *value = NULL; 5003 5004 bool status = false; 5004 5005 psU64 limit = psMetadataLookupU64(&status, config->args, "-limit"); … … 5030 5031 " USING(exp_tag)" 5031 5032 " WHERE" 5032 " detRun.state = 'run'"5033 5033 ); 5034 // NOTE the above WHERE is completed with the following line: 5035 5036 // add the two required restrictions: detRun.state and detRun.mode 5037 if ((value = psMetadataLookupStr(&status, config->args, "-select_state"))) { 5038 psStringAppend(&query, " detRun.state = '%s'", value); 5039 } else { 5040 psStringAppend(&query, " detRun.state = 'run'"); 5041 } 5034 5042 5035 5043 if (config->where) { -
trunk/ippTools/src/dettoolConfig.c
r13937 r13974 700 700 psMetadataAddBool(residimfileArgs, PS_LIST_TAIL, "-simple", 0, 701 701 "use the simple output format", false); 702 psMetadataAddStr(residimfileArgs, PS_LIST_TAIL, "-select_state", 0, 703 "search for state", NULL); 702 704 703 705 // -addresidexp
Note:
See TracChangeset
for help on using the changeset viewer.
