fixed 1814:session.connect: parameter migrate=False has no effect, thanks lucmurer

This commit is contained in:
mdipierro
2013-12-14 20:03:35 -06:00
parent 6ce51fa099
commit 42de43d052
2 changed files with 5 additions and 2 deletions

View File

@@ -1 +1 @@
Version 2.8.2-stable+timestamp.2013.12.11.20.35.40
Version 2.8.2-stable+timestamp.2013.12.14.20.02.42

View File

@@ -816,7 +816,10 @@ class Session(Storage):
# if on GAE tickets go also in DB
if settings.global_settings.web2py_runtime_gae:
request.tickets_db = db
table_migrate = (masterapp == request.application)
if masterapp == request.application:
table_migrate = migrate
else:
table_migrate = False
tname = tablename + '_' + masterapp
table = db.get(tname, None)
Field = db.Field