summaryrefslogtreecommitdiff
path: root/tests/backends/sqlite/tests.py
Commit message (Collapse)AuthorAgeFilesLines
* Refs #33476 -- Applied Black's 2023 stable style.David Smith2023-02-011-1/+0
| | | | | | | | Black 23.1.0 is released which, as the first release of the year, introduces the 2023 stable style. This incorporates most of last year's preview style. https://github.com/psf/black/releases/tag/23.1.0
* Fixed #34201 -- Bumped minimum supported SQLite to 3.21.0.Mariusz Felisiak2022-12-081-2/+2
|
* Removed redundant QuerySet.all() calls in docs and tests.Nick Pope2022-02-221-4/+4
| | | | Most QuerySet methods are mapped onto the Manager and, in general, it isn't necessary to call .all() on the manager.
* Fixed #33379 -- Added minimum database version checks.Hasan Ramezani2022-02-181-19/+7
| | | | Thanks Tim Graham for the review.
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-071-49/+67
|
* Fixed #32303 -- Bumped minimum supported SQLite to 3.9.0.Mariusz Felisiak2020-12-301-3/+3
|
* Corrected tests.backends.sqlite.tests.Tests.test_aggregation()'s docstring.Mariusz Felisiak2020-09-131-3/+1
|
* Refs #30116 -- Simplified regex match group access with Match.__getitem__().Jon Dufresne2020-05-111-1/+1
| | | | | The method has been available since Python 3.6. The shorter syntax is also marginally faster.
* Fixed #31228 -- Reallowed aggregates to be used with multiple expressions ↵Taoup2020-02-181-0/+9
| | | | | | | | and no DISTINCT on SQLite. Regression in bc05547cd8c1dd511c6b6a6c873a1bc63417b111. Thanks Andy Terra for the report.
* Fixed #31233 -- Closed database connections and cursors after use.Jon Dufresne2020-02-061-2/+4
|
* Simplified imports from django.db and django.contrib.gis.db.Nick Pope2020-02-041-5/+3
|
* Refs #29983 -- Added support for using pathlib.Path in all settings.Jon Dufresne2019-11-071-1/+17
|
* Fixed a failure when running tests on systems with SQLite < 3.8.3.Tim Graham2019-02-211-1/+6
|
* Refs #30055 -- Added a helpful error when SQLite is too old.Tim Graham2019-01-281-0/+11
|
* Fixed #28658 -- Added DISTINCT handling to the Aggregate class.Simon Charette2019-01-091-0/+12
|
* Refs #29182 -- Corrected SQLite's supports_atomic_references_rename feature ↵Simon Charette2018-12-221-1/+5
| | | | flag.
* Renamed SQLite3 references to to SQLite.Simon Charette2018-12-221-2/+2
| | | | The version suffix isn't part of the product name.
* Refs #29182 -- Stopped relying on legacy alter table semantic on SQLite 3.26+.Simon Charette2018-12-171-3/+3
| | | | | | | | SQLite 3.26 changed the behavior of table and column renaming operations to repoint foreign key references even if foreign key checks are disabled. This makes the workarounds in place to simulate this behavior unnecessary on SQLite 3.26+. Refs #30033.
* Fixed #30023 -- Prevented SQLite schema alterations while foreign key checks ↵Simon Charette2018-12-151-17/+47
| | | | | | | | | | | | | 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.
* Fixed #29500 -- Fixed SQLite function crashes on null values.Srinivas Reddy Thatiparthy2018-09-101-0/+16
| | | | | Co-authored-by: Srinivas Reddy Thatiparthy <thatiparthysreenivas@gmail.com> Co-authored-by: Nick Pope <nick.pope@flightdataservices.com>
* Fixed #28849 -- Fixed referenced table and column rename on SQLite.Simon Charette2017-12-011-1/+41
| | | | Thanks Ramiro for the input and Tim for the review.
* Fixed #28853 -- Updated connection.cursor() uses to use a context manager.Jon Dufresne2017-11-281-8/+8
|
* Fixed #28665 -- Change some database exceptions to NotImplementedError per ↵Simon Charette2017-10-061-4/+5
| | | | PEP 249.
* Refs #28584 -- Removed unused DatabaseFeatures.can_share_in_memory_db.Tim Graham2017-10-031-18/+3
|
* Reorganized backends tests.Mariusz Felisiak2017-06-211-0/+138