Changeset 23459
- Timestamp:
- Mar 20, 2009, 1:48:35 PM (17 years ago)
- Location:
- trunk/ippTools
- Files:
-
- 2 edited
-
share/warptool_finished_run_select.sql (modified) (1 diff)
-
src/warptool.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/share/warptool_finished_run_select.sql
r23430 r23459 19 19 HAVING 20 20 COUNT(warpSkyCellMap.warp_id) = COUNT(warpSkyfile.warp_id) 21 AND SUM(warpSkyfile.fault) = 0 21 22 ) as Foo -
trunk/ippTools/src/warptool.c
r23430 r23459 1095 1095 int numUpdated; // Number updated 1096 1096 { 1097 // This query is no longer necessary because we do not set warpRun's to full statte 1098 // if they have faulted skyfiles. 1099 // We do have runs in the DB that follow the old convention so we leave this in for 1100 // now 1097 1101 psString query = pxDataGet("warptool_revertwarped_update.sql"); 1098 1102 if (!query) { … … 1122 1126 numUpdated = psDBAffectedRows(config->dbh); 1123 1127 1128 #ifdef notdef 1129 // new warpRuns won't get changed (they're already new) so don't require an update 1124 1130 if (numUpdated < 1) { 1125 psError(PS_ERR_UNKNOWN, false, "should have affected at least 1 row");1131 psError(PS_ERR_UNKNOWN, false, "should have affected at least 1 row"); 1126 1132 if (!psDBRollback(config->dbh)) { 1127 1133 psError(PS_ERR_UNKNOWN, false, "database error"); … … 1129 1135 return false; 1130 1136 } 1137 #endif 1131 1138 } 1132 1139
Note:
See TracChangeset
for help on using the changeset viewer.
