fixed 1814:session.connect: parameter migrate=False has no effect, thanks lucmurer
This commit is contained in:
2
VERSION
2
VERSION
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user