Disable transaction cache when initialize database from command line

issue6216
review30001002
This commit is contained in:
Cédric Krier committed 2017-02-10 11:05:02 +01:00
1 parent d9b37b2547
commit 42e5bca015
1 file changed
+1 -1
+1 -1
View File
@@ -21,7 +21,7 @@ def run(options):
init = {}
for db_name in options.database_names:
init[db_name] = False
with Transaction().start(db_name, 0):
with Transaction().start(db_name, 0, _nocache=True):
database = Database(db_name)
database.connect()
if options.update: