Prevent db deadlock on all_handles method

svn: r17518
This commit is contained in:
Michiel Nauta 2011-05-17 17:15:52 +00:00
parent 35631eca92
commit d324edfcfb

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):
"""