Searched refs:secDB (Results 1 – 2 of 2) sorted by relevance
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 = None158 if self.secDB:159 self.secDB.close()160 self.secDB = None171 self.secDB = db.DB(self.env)[all …]
57 secDB = db.DB(self.env)58 secDB.set_flags(db.DB_DUP | db.DB_DUPSORT)59 secDB.open(self.filename, "secondary", db.DB_BTREE, db.DB_CREATE)60 map(lambda t, secDB=secDB: secDB.put(*t), ColorIndex)66 sCursor = secDB.cursor()91 secDB.close()