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

Bug #1194909 reported by Joakim Lundborg
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
oursql
New
Undecided
Unassigned

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)

Revision history for this message
Joakim Lundborg (joakim-lundborg) wrote :

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

Revision history for this message
Daniel (1-daniel-1) wrote :

I still see this issue in v 0.9.3.1.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.