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

-- 
You received this bug notification because you are a member of Agesys
Team, which is subscribed to oursql.
https://bugs.launchpad.net/bugs/1194909

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

Status in oursql:
  New

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/oursql/+bug/1194909/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~agesys-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~agesys-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to