--- a/server/sources/extlite.py Sat Aug 01 01:19:26 2009 +0200
+++ b/server/sources/extlite.py Sat Aug 01 01:20:58 2009 +0200
@@ -176,10 +176,9 @@
attached session: release the connection lock if the connection wrapper
has a connection set
"""
- if cnx._cnx is not None:
- # reset _cnx to ensure next thread using cnx will get a new
- # connection
- cnx.close()
+ # reset _cnx to ensure next thread using cnx will get a new
+ # connection
+ cnx.close()
def syntax_tree_search(self, session, union,
args=None, cachekey=None, varmap=None, debug=0):