]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
commented out open cursor check, until resolution of [ticket:312]
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 26 Sep 2006 14:23:45 +0000 (14:23 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 26 Sep 2006 14:23:45 +0000 (14:23 +0000)
lib/sqlalchemy/pool.py

index 3d8f8279f5ade5a28703d67c14da70e09a493635..2b9ecb2505865141eade0ce10fc0ffcc3dd413c1 100644 (file)
@@ -206,8 +206,8 @@ class _ConnectionFairy(object):
     def __del__(self):
         self._close()
     def _close(self):
-        if self.cursors is not None and len(self.cursors):
-            raise exceptions.InvalidRequestError("This connection still has %d open cursors" % len(self.cursors))
+#        if self.cursors is not None and len(self.cursors):
+#            raise exceptions.InvalidRequestError("This connection still has %d open cursors" % len(self.cursors))
         if self.connection is not None:
             try:
                 self.connection.rollback()