Changeset 17550 for trunk/ippTools/src/pztool.c
- Timestamp:
- May 6, 2008, 3:16:02 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/pztool.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/pztool.c
r16588 r17550 42 42 static bool revertcopiedMode(pxConfig *config); 43 43 44 static bool copydoneCompleteExp(pxConfig *config );44 static bool copydoneCompleteExp(pxConfig *config, const char *exp_name, const char *camera, const char *telescope); 45 45 static psArray *pzGetPendingCameras(pxConfig *config); 46 46 static psArray *pzArrayZip(psArray *arraySet, psS64 limit); … … 409 409 } 410 410 411 if (!copydoneCompleteExp(config )) {411 if (!copydoneCompleteExp(config, exp_name, camera, telescope)) { 412 412 // rollback 413 413 if (!psDBRollback(config->dbh)) { … … 431 431 } 432 432 433 static bool copydoneCompleteExp(pxConfig *config )433 static bool copydoneCompleteExp(pxConfig *config, const char *exp_name, const char *camera, const char *telescope) 434 434 { 435 435 PS_ASSERT_PTR_NON_NULL(config, false); … … 455 455 return false; 456 456 } 457 458 psStringAppend(&query, "WHERE exp_name = '%s' AND telescope = '%s' AND camera = '%s'", 459 exp_name, telescope, camera); 457 460 458 461 if (!p_psDBRunQuery(config->dbh, query)) {
Note:
See TracChangeset
for help on using the changeset viewer.
