diff Modules/_sqlite/cursor.h @ 74812:d51ceef4b62f 3.2

Issue #10811: Fix recursive usage of cursors. Instead of crashing, raise a ProgrammingError now.
author Petri Lehtinen <petri@digip.org>
date Mon, 09 May 2011 12:24:09 +0200
parents e9cd15d539e1
children
line wrap: on
line diff
--- a/Modules/_sqlite/cursor.h	Mon Feb 06 11:29:05 2012 -0500
+++ b/Modules/_sqlite/cursor.h	Mon May 09 12:24:09 2011 +0200
@@ -42,6 +42,7 @@
     pysqlite_Statement* statement;
     int closed;
     int reset;
+    int locked;
     int initialized;
 
     /* the next row to be returned, NULL if no next row available */