summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/sqlalchemy/engine/base.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sqlalchemy/engine/base.py b/lib/sqlalchemy/engine/base.py
index dad075b34..a335b1d17 100644
--- a/lib/sqlalchemy/engine/base.py
+++ b/lib/sqlalchemy/engine/base.py
@@ -1433,7 +1433,8 @@ class Connection(Connectable):
e,
statement,
parameters,
- cursor)
+ cursor,
+ None)
raise
def _safe_close_cursor(self, cursor):