Prevent db deadlock on all_handles method

svn: r17517
This commit is contained in:
Michiel Nauta 2011-05-17 17:15:12 +00:00
parent 4d321d27cb
commit 34e6755e8b

View File

@ -854,7 +854,7 @@ class DbBsddbRead(DbReadBase, Callback):
return self.get_number_of_records(self.tag_map)
def all_handles(self, table):
return table.keys()
return table.keys(txn=self.txn)
def get_person_handles(self, sort_handles=True):
"""