mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
bpo-28518: Start a transaction implicitly before a DML statement (#245)
Patch by Aviv Palivoda.
This commit is contained in:
parent
46ce7599af
commit
4a926caf8e
5 changed files with 24 additions and 11 deletions
|
@ -38,7 +38,7 @@ typedef struct
|
|||
sqlite3_stmt* st;
|
||||
PyObject* sql;
|
||||
int in_use;
|
||||
int is_ddl;
|
||||
int is_dml;
|
||||
PyObject* in_weakreflist; /* List of weak references */
|
||||
} pysqlite_Statement;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue