diff options
| author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2018-01-10 23:06:31 +0000 |
|---|---|---|
| committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2018-01-11 08:55:31 +0900 |
| commit | e0226fc46ad21f10ca612b32659bab442d2db871 (patch) | |
| tree | 58c7d856398b3e750fab62d9bc8095567ac8df8f /psycopg | |
| parent | 04f1f06b9f1f627436c1202aaa45434334c8747d (diff) | |
| download | psycopg2-e0226fc46ad21f10ca612b32659bab442d2db871.tar.gz | |
'cursor.mogrify()' can be called on closed cursorsmogrify-on-closed-cursor
Fix #579.
Diffstat (limited to 'psycopg')
| -rw-r--r-- | psycopg/cursor_type.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/psycopg/cursor_type.c b/psycopg/cursor_type.c index a70e9d3..b7fd187 100644 --- a/psycopg/cursor_type.c +++ b/psycopg/cursor_type.c @@ -592,8 +592,6 @@ psyco_curs_mogrify(cursorObject *self, PyObject *args, PyObject *kwargs) return NULL; } - EXC_IF_CURS_CLOSED(self); - return _psyco_curs_mogrify(self, operation, vars); } |
