Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed #470 -- Added support for database defaults on fields. | Ian Foote | 2023-05-12 | 1 | -0/+7 |
| | | | | | | | | Special thanks to Hannes Ljungberg for finding multiple implementation gaps. Thanks also to Simon Charette, Adam Johnson, and Mariusz Felisiak for reviews. | ||||
* | Fixed #34523 -- Fixed TransactionManagementError in ↵ | Mariusz Felisiak | 2023-05-03 | 1 | -3/+0 |
| | | | | | | | | | | | | | | QuerySet.update_or_create() with MyISAM storage engine. QuerySet.update_or_create() uses nested atomic to handle possible integrity errors taking savepoints as way to mark back the connection as usable. Savepoints are not returned when uses_savepoints/can_release_savepoints feature flags are set to False. As a consequence, QuerySet.update_or_create() assumed the outer atomic block is tainted and raised TransactionManagementError. This commit partly reverts 331a460f8f2e4f447b68fba491464b68c9b21fd1. Thanks gatello-s for the report. | ||||
* | Fixed #33759 -- Avoided unnecessary subquery in QuerySet.delete() with ↵ | 4the4ryushin | 2023-05-01 | 1 | -0/+1 |
| | | | | self-referential subqueries if supported. | ||||
* | Fixed #34421 -- Fixed QuerySet.update() on querysets in descending order by ↵ | hb6h057 | 2023-03-18 | 1 | -0/+1 |
| | | | | annotations. | ||||
* | Refs #31445 -- Added test for nesting QuerySet.union(). | Mariusz Felisiak | 2023-02-21 | 1 | -0/+10 |
| | | | This was fixed in MySQL 8.0.31. | ||||
* | Fixed #34255 -- Made PostgreSQL backend use client-side parameters binding ↵ | Mariusz Felisiak | 2023-01-17 | 1 | -0/+10 |
| | | | | | | | | with psycopg version 3. Thanks Guillaume Andreu Sabater for the report. Co-authored-by: Florian Apolloner <apollo13@users.noreply.github.com> | ||||
* | Fixed #18468 -- Added support for comments on columns and tables. | kimsoungryoul | 2022-12-28 | 1 | -0/+2 |
| | | | | | | | | Thanks Jared Chung, Tom Carrick, David Smith, Nick Pope, and Mariusz Felisiak for reviews. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> Co-authored-by: Nick Pope <nick@nickpope.me.uk> | ||||
* | Removed redundant definition of DatabaseFeatures.can_release_savepoints on ↵ | Mariusz Felisiak | 2022-12-05 | 1 | -1/+0 |
| | | | | MySQL. | ||||
* | Fixed #31331 -- Switched MySQL to group by selected primary keys. | Simon Charette | 2022-11-07 | 1 | -13/+1 |
| | | | | | | MySQL 5.7.15 supports group by functional dependences so there is no need to special case group by main table primary key anymore and special case the ONLY_FULL_GROUP_BY sql mode. | ||||
* | Fixed DatabaseFeatures.supports_select_(intersection/difference) on MariaDB ↵ | Mariusz Felisiak | 2022-10-25 | 1 | -2/+9 |
| | | | | and MySQL 8.0.31+. | ||||
* | Fixed #34070 -- Added subsecond support to Now() on SQLite and MySQL. | Lily Foote | 2022-10-03 | 1 | -1/+1 |
| | |||||
* | Fixed collation tests on MySQL 8.0.30+. | Mariusz Felisiak | 2022-07-27 | 1 | -4/+7 |
| | | | The utf8_ collations are renamed to utf8mb3_* on MySQL 8.0.30+. | ||||
* | Fixed #33718 -- Dropped support for MySQL 5.7. | Mariusz Felisiak | 2022-07-08 | 1 | -53/+3 |
| | |||||
* | Refs #33713 -- Removed unnecessary skip for MariaDB 10.3. | Mariusz Felisiak | 2022-06-27 | 1 | -7/+3 |
| | |||||
* | Fixed #33796 -- Fixed ordered combined queryset crash when used in subquery ↵ | Mariusz Felisiak | 2022-06-27 | 1 | -0/+19 |
| | | | | | | | | on PostgreSQL and MySQL. Thanks Shai Berger for the report. Regression in 30a01441347d5a2146af2944b29778fa0834d4be. | ||||
* | Fixed #28897 -- Fixed QuerySet.update() on querysets ordered by annotations. | David Wobrock | 2022-06-17 | 1 | -0/+1 |
| | |||||
* | Refs #28897 -- Added test for QuerySet.update() on querysets ordered by ↵ | David Wobrock | 2022-06-17 | 1 | -0/+5 |
| | | | | inline m2m annotation. | ||||
* | Fixed #32234 -- Made inspectdb inform about composite primary keys. | Anv3sh | 2022-06-01 | 1 | -0/+7 |
| | |||||
* | Fixed #33713 -- Dropped support for MariaDB 10.3. | Mariusz Felisiak | 2022-05-18 | 1 | -8/+4 |
| | |||||
* | Refs #33379 -- Fixed minimum supported version of MariaDB. | Mariusz Felisiak | 2022-05-17 | 1 | -1/+1 |
| | |||||
* | Refs #27064 -- Added RenameIndex migration operation. | David Wobrock | 2022-05-12 | 1 | -0/+6 |
| | |||||
* | Fixed DatabaseFeatures.uses_savepoints/can_release_savepoints and related ↵ | Mariusz Felisiak | 2022-04-18 | 1 | -0/+3 |
| | | | | tests with MyISAM storage engine. | ||||
* | Fixed DatabaseFeatures.supports_index_column_ordering and related tests with ↵ | Mariusz Felisiak | 2022-04-13 | 1 | -0/+2 |
| | | | | MyISAM storage engine. | ||||
* | Fixed DatabaseFeatures.supports_expression_indexes on MySQL with MyISAM. | Mariusz Felisiak | 2022-04-12 | 1 | -0/+1 |
| | |||||
* | Refs #30581 -- Fixed DatabaseFeatures.bare_select_suffix on MySQL < 8 and ↵ | Gagaro | 2022-03-22 | 1 | -0/+11 |
| | | | | MariaDB < 10.4. | ||||
* | Fixed #29865 -- Added logical XOR support for Q() and querysets. | Ryan Heard | 2022-03-04 | 1 | -0/+1 |
| | |||||
* | Fixed #33508 -- Fixed DatabaseFeatures.supports_index_column_ordering on ↵ | Alokik Vijay | 2022-02-26 | 1 | -4/+3 |
| | | | | MariaDB 10.8+. | ||||
* | Fixed #33379 -- Added minimum database version checks. | Hasan Ramezani | 2022-02-18 | 1 | -0/+7 |
| | | | | Thanks Tim Graham for the review. | ||||
* | Refs #33476 -- Refactored code to strictly match 88 characters line length. | Mariusz Felisiak | 2022-02-07 | 1 | -12/+24 |
| | |||||
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 1 | -80/+122 |
| | |||||
* | Fixed #31685 -- Added support for updating conflicts to QuerySet.bulk_create(). | sean_c_hsu | 2022-01-19 | 1 | -0/+1 |
| | | | | | Thanks Florian Apolloner, Chris Jerdonek, Hannes Ljungberg, Nick Pope, and Mariusz Felisiak for reviews. | ||||
* | Fixed #33228 -- Changed value of ↵ | Chinmoy | 2021-10-28 | 1 | -1/+0 |
| | | | | BaseDatabaseFeatures.has_case_insensitive_like to False. | ||||
* | Fixed #33129 -- Dropped support for MariaDB 10.2. | Mariusz Felisiak | 2021-09-22 | 1 | -4/+4 |
| | |||||
* | Refs #10929 -- Allowed NowUTC SQL customization for third-party backends. | Tim Graham | 2021-08-24 | 1 | -0/+2 |
| | |||||
* | Fixed #10929 -- Added default argument to aggregates. | Nick Pope | 2021-07-19 | 1 | -0/+11 |
| | | | | Thanks to Simon Charette and Adam Johnson for the reviews. | ||||
* | Fixed #32908 -- Allowed select_for_update(skip_locked) on MariaDB 10.6+. | Mariusz Felisiak | 2021-07-08 | 1 | -1/+3 |
| | |||||
* | Fixed inspectdb and schema tests on MariaDB 10.6+. | Mariusz Felisiak | 2021-07-07 | 1 | -5/+12 |
| | | | | The utf8 character set (and related collations) is by default an alias for utf8mb3 on MariaDB 10.6+. | ||||
* | Refs #25287 -- Added support for multiplying and dividing DurationField by ↵ | Tobias Bengfort | 2021-04-20 | 1 | -0/+4 |
| | | | | scalar values on SQLite. | ||||
* | Fixed #26167 -- Added support for functional indexes. | Hannes Ljungberg | 2021-01-13 | 1 | -0/+15 |
| | | | | | | Thanks Simon Charette, Mads Jensen, and Mariusz Felisiak for reviews. Co-authored-by: Markus Holtermann <info@markusholtermann.eu> | ||||
* | Fixed #32342 -- Added index order introspection on MySQL 8.0.1+. | Mariusz Felisiak | 2021-01-11 | 1 | -1/+7 |
| | |||||
* | Fixed #32178 -- Allowed database backends to skip tests and mark expected ↵ | Hasan Ramezani | 2020-12-10 | 1 | -0/+46 |
| | | | | | failures. Co-authored-by: Tim Graham <timograham@gmail.com> | ||||
* | Fixed #31777 -- Added support for database collations to Char/TextFields. | Tom Carrick | 2020-09-21 | 1 | -0/+1 |
| | | | | Thanks Simon Charette and Mariusz Felisiak for reviews. | ||||
* | Refs #21181 -- Corrected DatabaseFeatures.test_collations for Swedish collation. | Tom Carrick | 2020-09-18 | 1 | -1/+1 |
| | | | | Previously, backends used different keys "swedish-ci" or "swedish_ci". | ||||
* | Fixed #21181 -- Added Collate database function. | Tom Carrick | 2020-08-11 | 1 | -0/+4 |
| | | | | Thanks Simon Charette for reviews. | ||||
* | Fixed #17653 -- Allowed using zero as AutoFields value on MySQL if ↵ | Mariusz Felisiak | 2020-07-20 | 1 | -1/+8 |
| | | | | NO_AUTO_VALUE_ON_ZERO SQL mode is enabled. | ||||
* | Fixed #31770 -- Allowed select_for_update(of) on MySQL 8.0.1+. | Simon Charette | 2020-07-13 | 1 | -0/+4 |
| | |||||
* | Fixed #31758 -- Removed unneeded BytesToCharFieldConversionMixin. | Sergey Fedoseev | 2020-07-02 | 1 | -1/+0 |
| | | | Bug was fixed in mysqlclient 1.3.13. | ||||
* | Combined MySQL backend server info queries. | Adam Johnson | 2020-06-22 | 1 | -17/+4 |
| | |||||
* | Refs #31630 -- Removed DatabaseFeatures.can_introspect_autofield. | Tim Graham | 2020-06-04 | 1 | -1/+0 |
| | |||||
* | Fixed #31630 -- Replaced introspection features with ↵ | Hasan Ramezani | 2020-06-04 | 1 | -5/+10 |
| | | | | DatabaseFeatures.introspected_field_types. |