summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorErlend Egeberg Aasland <erlend.aasland@innova.no>2021-11-10 18:46:11 (GMT)
committerGitHub <noreply@github.com>2021-11-10 18:46:11 (GMT)
commitc1323d4b8cb010a06c11bace6e681bea7f895851 (patch)
tree37800fb4b11f3dddef2f3c337fbf0deb98884d69 /Misc
parent4cdeee5978ee3f8ea7fe95172ae04d866cd88177 (diff)
downloadcpython-c1323d4b8cb010a06c11bace6e681bea7f895851.zip
cpython-c1323d4b8cb010a06c11bace6e681bea7f895851.tar.gz
cpython-c1323d4b8cb010a06c11bace6e681bea7f895851.tar.bz2
bpo-45754: Use correct SQLite limit when checking statement length (GH-29489)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2021-11-09-15-48-38.bpo-45754.c-JDto.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2021-11-09-15-48-38.bpo-45754.c-JDto.rst b/Misc/NEWS.d/next/Library/2021-11-09-15-48-38.bpo-45754.c-JDto.rst
new file mode 100644
index 0000000..196bfc9
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2021-11-09-15-48-38.bpo-45754.c-JDto.rst
@@ -0,0 +1,3 @@
+Fix a regression in Python 3.11a1 and 3.11a2 where :mod:`sqlite3`
+incorrectly would use ``SQLITE_LIMIT_LENGTH`` when checking SQL statement
+lengths. Now, ``SQLITE_LIMIT_SQL_LENGTH`` is used. Patch by Erlend E. Aasland.