* src/GrampsDb/_GrampsBSDDB.py: disable TXN for readonly dbs
svn: r7028
This commit is contained in:
parent
9a59537daf
commit
0318f728f8
@ -1,4 +1,5 @@
|
||||
2006-07-14 Don Allingham <don@gramps-project.org>
|
||||
* src/GrampsDb/_GrampsBSDDB.py: disable TXN for readonly dbs
|
||||
* src/DbLoader.py (DbLoader.read_file): handle DBAccessError
|
||||
|
||||
2006-07-12 Brian Matherly <brian@gramps-project.org>
|
||||
|
@ -288,6 +288,8 @@ class GrampsBSDDB(GrampsDbBase,UpdateCallback):
|
||||
self.close()
|
||||
|
||||
self.readonly = mode == "r"
|
||||
if self.readonly:
|
||||
self.UseTXN = False
|
||||
|
||||
callback(12)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user