Changeset 19418
- Timestamp:
- Sep 8, 2008, 1:56:48 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/pxchip.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/pxchip.c
r19390 r19418 72 72 psMetadataAddF32(md, PS_LIST_TAIL, "-solang_max", 0, "search by max solar angle", NAN); 73 73 psMetadataAddStr(md, PS_LIST_TAIL, "-comment", 0, "search by comment field (LIKE comparison)", NULL); 74 // psMetadataAddStr(md, PS_LIST_TAIL, "-label", 0, "search by label (LIKE comparison)", NULL);74 psMetadataAddStr(md, PS_LIST_TAIL, "-label", 0, "search by label", NULL); 75 75 return true; 76 76 } … … 85 85 // processedimfile : rawExp, chipRun, chipProcessedImfile 86 86 // revertprocessedimfile : rawExp, chipProcessedImfile 87 // updateprocessedimfile : chipProcessedImfile 87 // updateprocessedimfile : chipProcessedImfile 88 88 PXOPT_COPY_S64(config->args, where, "-exp_id", "rawExp.exp_id", "=="); 89 89 PXOPT_COPY_STR(config->args, where, "-exp_name", "rawExp.exp_name", "=="); … … 124 124 PXOPT_COPY_F32(config->args, where, "-solang_max", "rawExp.solang", "<"); 125 125 PXOPT_COPY_STR(config->args, where, "-comment", "rawExp.comment", "LIKE"); 126 PXOPT_COPY_STR(config->args, where, "-label", "chipRun.label", "=="); 126 127 return true; 127 128 } … … 185 186 PS_ASSERT_PTR_NON_NULL(config, false); 186 187 // note label == NULL should be explicitly allowed 187 188 188 189 char *query = "UPDATE chipRun SET label = '%s' WHERE chip_id = %" PRId64; 189 190 if (!p_psDBRunQuery(config->dbh, query, label, chip_id)) { … … 201 202 PS_ASSERT_PTR_NON_NULL(config, false); 202 203 // note label == NULL should be explicitly allowed 203 204 204 205 psString query = psStringCopy("UPDATE chipRun JOIN rawExp USING(exp_id) SET label = '%s'"); 205 206 … … 238 239 0x0, // chip_id 239 240 exp_id, 240 "new", // state 241 "new", // state 241 242 workdir, 242 243 "dirty", // workdir_state
Note:
See TracChangeset
for help on using the changeset viewer.
