Changeset 12530
- Timestamp:
- Mar 21, 2007, 2:58:44 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/pxtables.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/pxtables.c
r12024 r12530 124 124 } 125 125 126 // disable foreign key constrants 127 if (!p_psDBRunQuery(config->dbh, "SET FOREIGN_KEY_CHECKS=0")) { 128 psError(PS_ERR_UNKNOWN, false, "database error"); 129 status = false; 130 } 131 126 132 DROP_TABLE(expTagCounterDropTable); 127 133 DROP_TABLE(summitExpDropTable); … … 166 172 DROP_TABLE(stackSumSkyfileDropTable); 167 173 174 // re-enable foreign key constrants 175 if (!p_psDBRunQuery(config->dbh, "SET FOREIGN_KEY_CHECKS=1")) { 176 psError(PS_ERR_UNKNOWN, false, "database error"); 177 status = false; 178 } 179 168 180 return status; 169 181 }
Note:
See TracChangeset
for help on using the changeset viewer.
