- Timestamp:
- Jun 29, 2012, 9:11:40 AM (14 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/scratchdb.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/scratchdb.py
r34104 r34108 549 549 550 550 # 2 is hardwired -- convert to an enum (should probably read Ohana/src/libdvo/include/dvo.h defines 551 sql = "SELECT count(TYPE ) FROM " + self.dvoPhotcodesTable + " WHERE TYPE= 2"551 sql = "SELECT count(TYPE_AS_INT) FROM " + self.dvoPhotcodesTable + " WHERE TYPE_AS_INT = 2" 552 552 553 553 filterCount = 0 … … 567 567 ''' 568 568 def getOrderedListOfFiltersFromPhotcodesTable(self, interestedFilters): 569 570 sql = "SELECT count(TYPE) FROM " + self.dvoPhotcodesTable + " WHERE TYPE = 'sec'"571 569 572 570 sql = "SELECT NAME FROM " + self.dvoPhotcodesTable + " WHERE "
Note:
See TracChangeset
for help on using the changeset viewer.
