Issue #10811: Fix recursive usage of cursors. Instead of crashing, raise a ProgrammingError now.

This commit is contained in:
Petri Lehtinen 2011-05-09 12:24:09 +02:00
parent 1f30575713
commit 4a84f58143
4 changed files with 45 additions and 10 deletions

View file

@ -42,6 +42,7 @@ typedef struct
pysqlite_Statement* statement;
int closed;
int reset;
int locked;
int initialized;
/* the next row to be returned, NULL if no next row available */