Home
last modified time | relevance | path

Searched refs:secDB (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Lib/bsddb/test/
Dtest_associate.py100 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)
[all …]
Dtest_join.py57 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()