Lines Matching refs:secDB
100 secDB = db.DB(self.env)
101 secDB.open(self.filename, "secondary", db.DB_BTREE, db.DB_CREATE)
107 dupDB.associate(secDB, f)
110 secDB.close()
113 secDB.close()
148 self.secDB = None
158 if self.secDB:
159 self.secDB.close()
160 self.secDB = None
171 self.secDB = db.DB(self.env)
172 self.secDB.set_flags(db.DB_DUP)
173 self.secDB.set_get_returns_none(2)
174 self.secDB.open(self.filename, "secondary", db.DB_BTREE,
176 self.getDB().associate(self.secDB, getGenre)
180 self.finish_test(self.secDB)
194 self.secDB = db.DB(self.env)
195 self.secDB.set_flags(db.DB_DUP)
196 self.secDB.open(self.filename, "secondary", db.DB_BTREE,
200 self.getDB().associate(self.secDB, getGenre, db.DB_CREATE)
202 self.finish_test(self.secDB)
230 def finish_test(self, secDB, txn=None): argument
232 vals = secDB.pget('Blues', txn=txn)
235 vals = secDB.pget('Unknown', txn=txn)
260 self.cur = secDB.cursor(txn)
344 self.secDB = db.DB(self.env)
345 self.secDB.set_flags(db.DB_DUP)
346 self.secDB.set_get_returns_none(2)
347 self.secDB.open(self.filename, "secondary", db.DB_BTREE,
349 self.getDB().associate(self.secDB, self.getGenre, txn=txn)
356 self.txn_finish_test(self.secDB, txn=txn)