THREAD_LOCAL folder not reset in dal
This commit is contained in:
2
VERSION
2
VERSION
@@ -1 +1 @@
|
||||
Version 2.2.1 (2012-10-22 22:21:06) stable
|
||||
Version 2.2.1 (2012-10-22 22:49:31) stable
|
||||
|
||||
10
gluon/dal.py
10
gluon/dal.py
@@ -6625,14 +6625,6 @@ class DAL(object):
|
||||
db._db_uid = db_uid
|
||||
return db
|
||||
|
||||
@staticmethod
|
||||
def set_folder(folder):
|
||||
"""
|
||||
# ## this allows gluon to set a folder for this thread
|
||||
# ## <<<<<<<<< Should go away as new DAL replaces old sql.py
|
||||
"""
|
||||
BaseAdapter.set_folder(folder)
|
||||
|
||||
@staticmethod
|
||||
def distributed_transaction_begin(*instances):
|
||||
if not instances:
|
||||
@@ -6712,8 +6704,6 @@ class DAL(object):
|
||||
credential_decoder = lambda cred: cred
|
||||
else:
|
||||
credential_decoder = lambda cred: urllib.unquote(cred)
|
||||
if folder:
|
||||
self.set_folder(folder)
|
||||
self._uri = uri
|
||||
self._pool_size = pool_size
|
||||
self._db_codec = db_codec
|
||||
|
||||
Reference in New Issue
Block a user