diff options
author | Erlend E. Aasland <erlend.aasland@protonmail.com> | 2023-06-18 22:29:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-18 22:29:08 (GMT) |
commit | 6849acb3feacda63ee43f1dc9be28fac1075ca7d (patch) | |
tree | 6d188e17bbf6563945a32860ae11e5c47a55941b /Modules/_sqlite/blob.c | |
parent | bc07c8f096791d678ca5c1e3486cb9648f7a027b (diff) | |
download | cpython-6849acb3feacda63ee43f1dc9be28fac1075ca7d.zip cpython-6849acb3feacda63ee43f1dc9be28fac1075ca7d.tar.gz cpython-6849acb3feacda63ee43f1dc9be28fac1075ca7d.tar.bz2 |
gh-105875: Require SQLite 3.15.2 or newer (#105876)
SQLite 3.15.2 was released 2016-11-28.
Diffstat (limited to 'Modules/_sqlite/blob.c')
-rw-r--r-- | Modules/_sqlite/blob.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Modules/_sqlite/blob.c b/Modules/_sqlite/blob.c index 76d261b..3096fb0 100644 --- a/Modules/_sqlite/blob.c +++ b/Modules/_sqlite/blob.c @@ -108,14 +108,6 @@ static void blob_seterror(pysqlite_Blob *self, int rc) { assert(self->connection != NULL); -#if SQLITE_VERSION_NUMBER < 3008008 - // SQLite pre 3.8.8 does not set this blob error on the connection - if (rc == SQLITE_ABORT) { - PyErr_SetString(self->connection->OperationalError, - "Cannot operate on an expired blob handle"); - return; - } -#endif _pysqlite_seterror(self->connection->state, self->connection->db); } |