Changeset 14065 for trunk/ippTools/src
- Timestamp:
- Jul 6, 2007, 5:42:07 PM (19 years ago)
- Location:
- trunk/ippTools/src
- Files:
-
- 2 edited
-
pxchip.c (modified) (2 diffs)
-
pxtables.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/pxchip.c
r14023 r14065 75 75 if (!chipRunInsert(config->dbh, 76 76 0x0, 77 (psS64)atoll(exp_id), 77 78 "run", // state 78 79 workdir, … … 91 92 } 92 93 93 #if 094 // get the chip_id95 long chip_id = psDBLastInsertID(config->dbh);96 #endif97 98 // populate the chipInputImfile table from rawImfile based on exp_id,99 // where the coresponding newExp.state entry is set to stop100 psString query = pxDataGetCached("chiptool_queuerawimfile.sql");101 if (!query) {102 psError(PXTOOLS_ERR_DATA, false, "failed to retreive SQL statement");103 return false;104 }105 106 // queue the imfiles for the exp_id107 if (!p_psDBRunQuery(config->dbh, query, exp_id)) {108 psError(PS_ERR_UNKNOWN, false, "database error");109 return false;110 }111 112 // just to be safe, we should have changed at least one row113 if (psDBAffectedRows(config->dbh) < 1) {114 psError(PS_ERR_UNKNOWN, false,115 "no rows affected - should have changed at least one row");116 return false;117 }118 119 94 // point of no return 120 95 if (!psDBCommit(config->dbh)) { -
trunk/ippTools/src/pxtables.c
r14023 r14065 63 63 CREATE_TABLE(guidePendingExpCreateTable); 64 64 CREATE_TABLE(chipRunCreateTable); 65 CREATE_TABLE(chipInputImfileCreateTable);65 // CREATE_TABLE(chipInputImfileCreateTable); 66 66 CREATE_TABLE(chipProcessedImfileCreateTable); 67 67 CREATE_TABLE(chipMaskCreateTable); … … 144 144 DROP_TABLE(guidePendingExpDropTable); 145 145 DROP_TABLE(chipRunDropTable); 146 DROP_TABLE(chipInputImfileDropTable);146 // DROP_TABLE(chipInputImfileDropTable); 147 147 DROP_TABLE(chipProcessedImfileDropTable); 148 148 DROP_TABLE(chipMaskDropTable);
Note:
See TracChangeset
for help on using the changeset viewer.
