diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-09-26 14:23:45 +0000 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-09-26 14:23:45 +0000 |
| commit | 6ad6e099e84bf3100a8efa16d2c021304dce5d9a (patch) | |
| tree | 84e69022c2988fbfae35a44b1f5424e449a5a2e2 /lib | |
| parent | 9a36771499c1428ab64af4a17cbbb83e54b4e85a (diff) | |
| download | sqlalchemy-6ad6e099e84bf3100a8efa16d2c021304dce5d9a.tar.gz | |
commented out open cursor check, until resolution of [ticket:312]
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/sqlalchemy/pool.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/pool.py b/lib/sqlalchemy/pool.py index 3d8f8279f..2b9ecb250 100644 --- a/lib/sqlalchemy/pool.py +++ b/lib/sqlalchemy/pool.py @@ -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() |
