Prevent db deadlock on all_handles method
svn: r17518
This commit is contained in:
parent
35631eca92
commit
d324edfcfb
@ -854,7 +854,7 @@ class DbBsddbRead(DbReadBase, Callback):
|
|||||||
return self.get_number_of_records(self.tag_map)
|
return self.get_number_of_records(self.tag_map)
|
||||||
|
|
||||||
def all_handles(self, table):
|
def all_handles(self, table):
|
||||||
return table.keys()
|
return table.keys(txn=self.txn)
|
||||||
|
|
||||||
def get_person_handles(self, sort_handles=True):
|
def get_person_handles(self, sort_handles=True):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user