From 936d518dc8fb8fb094de1391d5a0703287db694e Mon Sep 17 00:00:00 2001 From: Gerhard Haering Date: Mon, 9 May 2011 12:24:09 +0200 Subject: #10811: Fix recursive usage of cursors. Instead of crashing, raise a ProgrammingError now. --- Modules/_sqlite/cursor.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Modules/_sqlite/cursor.h') diff --git a/Modules/_sqlite/cursor.h b/Modules/_sqlite/cursor.h index 5d8b5c160d..118ba388a4 100644 --- a/Modules/_sqlite/cursor.h +++ b/Modules/_sqlite/cursor.h @@ -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 */ -- cgit v1.2.1