django/tests/backends
Simon Charette ecece1b22e [2.0.x] 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.

Backport of 315357ad25 from master.
2018-12-17 10:06:48 -05:00
..
base Refs #28595 -- Added a hook to add execute wrappers for database queries. 2017-09-21 12:13:09 -04:00
mysql [2.0.x] Fixed #28804 -- Fixed "Unknown system variable 'transaction_isolation'" on MariaDB. 2017-11-20 10:08:58 -05:00
oracle [2.0.x] Fixed #28596 -- Fixed QuerySet.bulk_create() and cascade deletion crash on Oracle when using more than 65535 parameters. 2017-10-05 18:54:45 +02:00
postgresql [2.0.x] Fixed #28702 -- Made query lookups for CIText fields use citext. 2017-11-29 10:40:01 -05:00
sqlite [2.0.x] Fixed #30023 -- Prevented SQLite schema alterations while foreign key checks are enabled. 2018-12-17 10:06:48 -05:00
__init__.py Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
models.py [2.0.x] Fixed #28849 -- Fixed referenced table and column rename on SQLite. 2017-12-01 22:15:48 -05:00
test_ddl_references.py Refs #23919 -- Stopped inheriting from object to define new style classes. 2017-06-26 10:30:31 -04:00
test_utils.py [2.0.x] Fixed #28792 -- Fixed index name truncation of namespaced tables. 2017-11-15 07:58:36 -05:00
tests.py Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()." 2017-09-07 08:16:21 -04:00