Changeset 24371
- Timestamp:
- Jun 10, 2009, 3:18:59 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/pxchip.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/pxchip.c
r23418 r24371 175 175 psString query = psStringCopy("UPDATE chipRun JOIN rawExp USING(exp_id) SET state = '%s'"); 176 176 177 if (where ) {177 if (where && psListLength(where->list) > 0) { 178 178 psString whereClause = psDBGenerateWhereSQL(where, NULL); 179 179 psStringAppend(&query, " %s", whereClause); … … 216 216 psString query = psStringCopy("UPDATE chipRun JOIN rawExp USING(exp_id) SET label = '%s'"); 217 217 218 if (where ) {218 if (where && psListLength(where->list) > 0) { 219 219 psString whereClause = psDBGenerateWhereSQL(where, NULL); 220 220 psStringAppend(&query, " %s", whereClause); … … 264 264 dvodb, 265 265 tess_id, 266 end_stage, 266 end_stage, 267 267 0 // magicked 268 268 ) … … 277 277 psS64 chip_id = psDBLastInsertID(config->dbh); 278 278 279 // Create rows in chipImfile table for each input exposure. 279 // Create rows in chipImfile table for each input exposure. 280 280 // This creates the chip_image_id values 281 281 psString query = "INSERT INTO chipImfile " … … 295 295 return 0; 296 296 } 297 297 298 298 return chip_id; 299 299 }
Note:
See TracChangeset
for help on using the changeset viewer.
