diff options
author | Christian Heimes <christian@python.org> | 2016-09-12 08:48:55 (GMT) |
---|---|---|
committer | Christian Heimes <christian@python.org> | 2016-09-12 08:48:55 (GMT) |
commit | 4d9a72902dec55fe87f105324adc4239a13d966f (patch) | |
tree | 12336d19f4aa31e4ef9d2687883006395c474b5d /Modules/_sqlite/cursor.c | |
parent | 9017ec1ea0347c4bd901c329254590a9f86a69b8 (diff) | |
parent | 0d5048cb21e431c1a8221e15563837090946be81 (diff) | |
download | cpython-4d9a72902dec55fe87f105324adc4239a13d966f.zip cpython-4d9a72902dec55fe87f105324adc4239a13d966f.tar.gz cpython-4d9a72902dec55fe87f105324adc4239a13d966f.tar.bz2 |
merge
Diffstat (limited to 'Modules/_sqlite/cursor.c')
-rw-r--r-- | Modules/_sqlite/cursor.c | 9 |
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); |