Changeset 24557 for branches/eam_branches/20090522/ippTools/src/pxchip.c
- Timestamp:
- Jun 25, 2009, 2:00:56 PM (17 years ago)
- Location:
- branches/eam_branches/20090522
- Files:
-
- 3 edited
-
. (modified) (1 prop)
-
ippTools/src (modified) (1 prop)
-
ippTools/src/pxchip.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20090522
- Property svn:mergeinfo changed
-
branches/eam_branches/20090522/ippTools/src
- Property svn:ignore
-
old new 34 34 disttool 35 35 receivetool 36 37 pubtool
-
- Property svn:ignore
-
branches/eam_branches/20090522/ippTools/src/pxchip.c
r23418 r24557 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.
