Changeset 21402 for trunk/ippTools/src/stacktool.c
- Timestamp:
- Feb 6, 2009, 3:25:03 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/stacktool.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/stacktool.c
r19931 r21402 358 358 // this insert needs to use exactly the same restrictions (race condition is probably not critical) 359 359 // the insert below seems to only restrict matches to the skycell, tess, and filter 360 if ((randomLimit > 0 && !p_psDBRunQuery (config->dbh, thisInsert, skycell_id, filter, randomLimit)) ||361 (randomLimit <= 0 && !p_psDBRunQuery (config->dbh, thisInsert, skycell_id, filter))) {360 if ((randomLimit > 0 && !p_psDBRunQueryF(config->dbh, thisInsert, skycell_id, filter, randomLimit)) || 361 (randomLimit <= 0 && !p_psDBRunQueryF(config->dbh, thisInsert, skycell_id, filter))) { 362 362 psError(PS_ERR_UNKNOWN, false, "database error"); 363 363 psFree(thisInsert); … … 968 968 969 969 char *query = "UPDATE stackRun SET state = '%s' WHERE stack_id = %"PRId64; 970 if (!p_psDBRunQuery (config->dbh, query, state, stack_id)) {970 if (!p_psDBRunQueryF(config->dbh, query, state, stack_id)) { 971 971 psError(PS_ERR_UNKNOWN, false, 972 972 "failed to change state for stack_id %"PRId64, stack_id);
Note:
See TracChangeset
for help on using the changeset viewer.
