Fix DBLOGNAME (".Db") diagnostics: "Magic" transactions was wrong way
round.
This commit is contained in:
@@ -2198,7 +2198,7 @@ class DbBsddb(DbBsddbRead, DbWriteBase, UpdateCallback):
|
|||||||
disconnected.
|
disconnected.
|
||||||
"""
|
"""
|
||||||
_LOG.debug(" %s%sDbBsddb %s transaction begin for '%s'"
|
_LOG.debug(" %s%sDbBsddb %s transaction begin for '%s'"
|
||||||
% ("Magic " if getattr(transaction, 'no_magic', False)
|
% ("Magic " if not getattr(transaction, 'no_magic', False)
|
||||||
else "",
|
else "",
|
||||||
"Batch " if transaction.batch else "",
|
"Batch " if transaction.batch else "",
|
||||||
hex(id(self)),
|
hex(id(self)),
|
||||||
@@ -2276,7 +2276,7 @@ class DbBsddb(DbBsddbRead, DbWriteBase, UpdateCallback):
|
|||||||
self.__after_commit(transaction)
|
self.__after_commit(transaction)
|
||||||
self.has_changed = True
|
self.has_changed = True
|
||||||
_LOG.debug(" %s%sDbBsddb %s transaction commit for '%s'"
|
_LOG.debug(" %s%sDbBsddb %s transaction commit for '%s'"
|
||||||
% ("Magic " if getattr(transaction, 'no_magic', False)
|
% ("Magic " if not getattr(transaction, 'no_magic', False)
|
||||||
else "",
|
else "",
|
||||||
"Batch " if transaction.batch else "",
|
"Batch " if transaction.batch else "",
|
||||||
hex(id(self)),
|
hex(id(self)),
|
||||||
|
Reference in New Issue
Block a user