summaryrefslogtreecommitdiffstats
path: root/Modules/_sqlite/cursor.c
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2016-09-12 08:48:55 (GMT)
committerChristian Heimes <christian@python.org>2016-09-12 08:48:55 (GMT)
commit4d9a72902dec55fe87f105324adc4239a13d966f (patch)
tree12336d19f4aa31e4ef9d2687883006395c474b5d /Modules/_sqlite/cursor.c
parent9017ec1ea0347c4bd901c329254590a9f86a69b8 (diff)
parent0d5048cb21e431c1a8221e15563837090946be81 (diff)
downloadcpython-4d9a72902dec55fe87f105324adc4239a13d966f.zip
cpython-4d9a72902dec55fe87f105324adc4239a13d966f.tar.gz
cpython-4d9a72902dec55fe87f105324adc4239a13d966f.tar.bz2
merge
Diffstat (limited to 'Modules/_sqlite/cursor.c')
-rw-r--r--Modules/_sqlite/cursor.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/Modules/_sqlite/cursor.c b/Modules/_sqlite/cursor.c
index 020f931..c7169f6 100644
--- a/Modules/_sqlite/cursor.c
+++ b/Modules/_sqlite/cursor.c
@@ -644,15 +644,6 @@ PyObject* _pysqlite_query_execute(pysqlite_Cursor* self, int multiple, PyObject*
}
error:
- /* just to be sure (implicit ROLLBACKs with ON CONFLICT ROLLBACK/OR
- * ROLLBACK could have happened */
- #ifdef SQLITE_VERSION_NUMBER
- #if SQLITE_VERSION_NUMBER >= 3002002
- if (self->connection && self->connection->db)
- self->connection->inTransaction = !sqlite3_get_autocommit(self->connection->db);
- #endif
- #endif
-
Py_XDECREF(parameters);
Py_XDECREF(parameters_iter);
Py_XDECREF(parameters_list);