Changeset 35191
- Timestamp:
- Feb 21, 2013, 8:49:33 AM (13 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/scratchdb.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/scratchdb.py
r35177 r35191 432 432 def purgeTheseDvoRegions(self, regions, fileTypes): 433 433 434 detectionCount = self.getRowCount(self.dvoDetectionTable) 434 # XXX this must have been a remnant from something else: we are deleting a region, not entries from the dvoDetectionTable 435 # detectionCount = self.getRowCount(self.dvoDetectionTable) 435 436 for region in regions: 436 437 … … 448 449 pass 449 450 450 deletedDetectionCount = detectionCount - self.getRowCount(self.dvoDetectionTable)451 # deletedDetectionCount = detectionCount - self.getRowCount(self.dvoDetectionTable) 451 452 452 453 # after a big detection delete, we should OPTIMIZE the table 453 if deletedDetectionCount > 0:454 self.logger.infoPair("Running OPTIMIZE on ", self.dvoDetectionTable)455 self.optimizeTable(self.dvoDetectionTable)456 457 return deletedDetectionCount454 # if deletedDetectionCount > 0: 455 # self.logger.infoPair("Running OPTIMIZE on ", self.dvoDetectionTable) 456 # self.optimizeTable(self.dvoDetectionTable) 457 458 return 1 458 459 459 460 '''
Note:
See TracChangeset
for help on using the changeset viewer.
