Changeset 16334
- Timestamp:
- Feb 5, 2008, 6:44:48 PM (18 years ago)
- Location:
- trunk/ippTools
- Files:
-
- 3 edited
-
share/pztool_find_completed_exp.sql (modified) (1 diff)
-
src/pztool.c (modified) (3 diffs)
-
src/pztoolConfig.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/share/pztool_find_completed_exp.sql
r14600 r16334 28 28 HAVING 29 29 COUNT(pzDoneImfile.exp_name) = summitExp.imfiles 30 AND SUM(pzDoneImfile.fault) = 0 30 31 ) as Foo -
trunk/ippTools/src/pztool.c
r16170 r16334 344 344 PXOPT_LOOKUP_STR(uri, config->args, "-uri", true, false); 345 345 346 // default values 347 PXOPT_LOOKUP_S16(code, config->args, "-code", false, false); 348 346 349 // need to know exp_name, camera, telescope, class, class_id (to find the 347 350 // pzPendingImfile entry and the URI for the newImfile entry. … … 360 363 " pzPendingImfile.*," 361 364 " '%s'" // uri of downloaded file 365 " '%d'" // fault code 362 366 " FROM pzPendingImfile" 363 367 " WHERE" … … 368 372 " AND pzPendingImfile.class_id = '%s'"; 369 373 370 if (!p_psDBRunQuery(config->dbh, query, uri, exp_name, camera, telescope, class, class_id )) {374 if (!p_psDBRunQuery(config->dbh, query, uri, exp_name, camera, telescope, class, class_id, code)) { 371 375 // rollback 372 376 if (!psDBRollback(config->dbh)) { -
trunk/ippTools/src/pztoolConfig.c
r16170 r16334 122 122 psMetadataAddStr(copydoneArgs, PS_LIST_TAIL, "-end_stage", 0, 123 123 "define the end goal processing step", NULL); 124 psMetadataAddS16(copydoneArgs, PS_LIST_TAIL, "-code", 0, 125 "set fault code", 0); 124 126 125 127 psMetadata *argSets = psMetadataAlloc();
Note:
See TracChangeset
for help on using the changeset viewer.
