summaryrefslogtreecommitdiff
path: root/docs/releases/2.1.5.txt
diff options
context:
space:
mode:
authorSimon Charette <charette.s@gmail.com>2018-12-07 19:55:47 -0500
committerSimon Charette <charette.s@gmail.com>2018-12-15 18:51:59 -0500
commit315357ad25a6590e7f4564ec2e56a22132b09001 (patch)
tree64b14122ecf5f5fa9f48802b4edae27cd81733f6 /docs/releases/2.1.5.txt
parenta394289b58b1773c4959ed768fdb325c91b2b589 (diff)
downloaddjango-315357ad25a6590e7f4564ec2e56a22132b09001.tar.gz
Fixed #30023 -- Prevented SQLite schema alterations while foreign key checks are enabled.
Prior to this change foreign key constraint references could be left pointing at tables dropped during operations simulating unsupported table alterations because of an unexpected failure to disable foreign key constraint checks. SQLite3 does not allow disabling such checks while in a transaction so they must be disabled beforehand. Thanks ezaquarii for the report and Carlton and Tim for the review.
Diffstat (limited to 'docs/releases/2.1.5.txt')
-rw-r--r--docs/releases/2.1.5.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/releases/2.1.5.txt b/docs/releases/2.1.5.txt
index 9f1f3a4e8a..f5306192a4 100644
--- a/docs/releases/2.1.5.txt
+++ b/docs/releases/2.1.5.txt
@@ -15,3 +15,6 @@ Bugfixes
* Fixed a schema corruption issue on SQLite 3.26+. You might have to drop and
rebuild your SQLite database if you applied a migration while using an older
version of Django with SQLite 3.26 or later (:ticket:`29182`).
+
+* Prevented SQLite schema alterations while foreign key checks are enabled to
+ avoid the possibility of schema corruption (:ticket:`30023`).