Running an EXPLAIN query gives oursql.ProgrammingError: (None, 'cursor closed', None)

Bug #1194909 reported by Joakim Lundborg on 2013-06-26
This bug affects 2 people
Affects Status Importance Assigned to Milestone

Bug Description

When I try to run
s.execute("EXPLAIN SELECT 1").fetchall()
I get this:
  File "<stdin>", line 1, in <module>
  File "cursor.pyx", line 224, in oursql.Cursor.fetchall (oursqlx/oursql.c:17912)
  File "cursor.pyx", line 159, in oursql.Cursor._check_statements (oursqlx/oursql.c:17342)
  File "cursor.pyx", line 53, in oursql.Cursor._check_closed (oursqlx/oursql.c:16104)
oursql.ProgrammingError: (None, 'cursor closed', None)

This works fine in mysqldb:
[(1L, 'SIMPLE', None, None, None, None, None, None, None, 'No tables used')]

Daniel (1-daniel-1) wrote :

I still see this issue in v

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers