diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2016-01-09 21:30:19 +0100 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2016-01-21 10:47:15 +0100 |
| commit | f91b5a7e4b2ac436b1fe3065b23217543d0f54c1 (patch) | |
| tree | de35279fa5162111654cc04d706db5ecf78217ca /docs | |
| parent | ee596888e1149864e7828f5cf63c0eda395744c3 (diff) | |
Fixed #26063 -- Crash when passing > 2000 params.
If SQLITE_MAX_VARIABLE_NUMBER (default = 999) is changed at compile time
to be greater than SQLITE_MAX_COLUMN (default = 2000), which Debian does
by setting the former to 250000, Django raised an exception on queries
containing more than 2000 parameters when DEBUG = True.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/1.9.2.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/releases/1.9.2.txt b/docs/releases/1.9.2.txt index 71709d0fb8..0da9cf65cd 100644 --- a/docs/releases/1.9.2.txt +++ b/docs/releases/1.9.2.txt @@ -44,3 +44,8 @@ Bugfixes * Fixed a ``QuerySet.order_by()`` crash when ordering by a relational field of a ``ManyToManyField`` ``through`` model (:ticket:`26092`). + +* Fixed a regression that caused an exception when making database queries on + SQLite with more than 2000 parameters when :setting:`DEBUG` is ``True`` on + distributions that increase the ``SQLITE_MAX_VARIABLE_NUMBER`` compile-time + limit to over 2000, such as Debian (:ticket:`26063`). |
