Changeset 17844 for trunk/ippTools/src/pxtables.c
- Timestamp:
- May 28, 2008, 5:14:42 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/pxtables.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/pxtables.c
r17145 r17844 30 30 if (!createFunc(config->dbh)) { \ 31 31 psError(PS_ERR_UNKNOWN, false, "dbh access failed"); \ 32 status = false; \ 32 if (status) { \ 33 status = false; \ 34 } \ 33 35 } 34 36 … … 36 38 if (!dropFunc(config->dbh)) { \ 37 39 psError(PS_ERR_UNKNOWN, false, "dbh access failed"); \ 38 status = false; \ 40 if (status) { \ 41 status = false; \ 42 } \ 39 43 } 40 44 … … 107 111 CREATE_TABLE(pstampJobCreateTable); 108 112 109 return true;113 return status; 110 114 } 111 115 … … 147 151 if (!p_psDBRunQuery(config->dbh, "SET FOREIGN_KEY_CHECKS=0")) { 148 152 psError(PS_ERR_UNKNOWN, false, "database error"); 149 status = false;153 return false; 150 154 } 151 155 … … 210 214 if (!p_psDBRunQuery(config->dbh, "SET FOREIGN_KEY_CHECKS=1")) { 211 215 psError(PS_ERR_UNKNOWN, false, "database error"); 212 status = false;216 return false; 213 217 } 214 218
Note:
See TracChangeset
for help on using the changeset viewer.
