diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2016-09-12 04:16:43 (GMT) |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2016-09-12 04:16:43 (GMT) |
commit | 59da4b324f08247d389a4c89e1e84243f41c489f (patch) | |
tree | f82798f28c4b1e3a157a0375c31579b871491408 /Modules/_sqlite/connection.h | |
parent | e7da2f8380fbd92d5978e9fb8ce317ecfd17d12e (diff) | |
download | cpython-59da4b324f08247d389a4c89e1e84243f41c489f.zip cpython-59da4b324f08247d389a4c89e1e84243f41c489f.tar.gz cpython-59da4b324f08247d389a4c89e1e84243f41c489f.tar.bz2 |
Issue #28037: Use sqlite3_get_autocommit() instead of setting Connection->inTransaction manually
Patch adapted from https://github.com/ghaering/pysqlite/commit/9b79188edbc50faa24dc178afe24a10454f3fcad
Diffstat (limited to 'Modules/_sqlite/connection.h')
-rw-r--r-- | Modules/_sqlite/connection.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Modules/_sqlite/connection.h b/Modules/_sqlite/connection.h index adbfb54..2860a0c 100644 --- a/Modules/_sqlite/connection.h +++ b/Modules/_sqlite/connection.h @@ -37,10 +37,6 @@ typedef struct PyObject_HEAD sqlite3* db; - /* 1 if we are currently within a transaction, i. e. if a BEGIN has been - * issued */ - char inTransaction; - /* the type detection mode. Only 0, PARSE_DECLTYPES, PARSE_COLNAMES or a * bitwise combination thereof makes sense */ int detect_types; |