summaryrefslogtreecommitdiff
path: root/tests/backends/mysql
AgeCommit message (Collapse)Author
2023-02-01[4.2.x] Refs #33476 -- Applied Black's 2023 stable style.David Smith
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 Backport of 097e3a70c1481ee7b042b2edd91b2be86fb7b5b6 from main
2022-07-08Fixed #33718 -- Dropped support for MySQL 5.7.Mariusz Felisiak
2022-05-18Fixed #33713 -- Dropped support for MariaDB 10.3.Mariusz Felisiak
2022-05-17Refs #33379 -- Fixed minimum supported version of MariaDB.Mariusz Felisiak
2022-04-18Fixed DatabaseFeatures.uses_savepoints/can_release_savepoints and related ↵Mariusz Felisiak
tests with MyISAM storage engine.
2022-02-18Fixed #33379 -- Added minimum database version checks.Hasan Ramezani
Thanks Tim Graham for the review.
2022-02-07Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-08-20Fixed #33017 -- Fixed storage engine introspection on MySQL.Matjaz Gregoric
This also improves performance on MySQL instances with a large number of databases, since querying the information_schema table can be very slow
2021-03-30Fixed #32595 -- Fixed SchemaEditor.quote_value() crash with bytes.Mariusz Felisiak
2021-03-30Refs #32595 -- Added MySQL's SchemaEditor.quote_value() tests for values ↵Mariusz Felisiak
with Unicode chars.
2020-10-29Refs #32061 -- Unified DatabaseClient.runshell() in db backends.Simon Charette
2020-07-20Fixed #17653 -- Allowed using zero as AutoFields value on MySQL if ↵Mariusz Felisiak
NO_AUTO_VALUE_ON_ZERO SQL mode is enabled.
2020-04-17Fixed #31473 -- Made sql_flush() use RESTART IDENTITY to reset sequences on ↵Jon Dufresne
PostgreSQL. The sql_flush() positional argument sequences is replaced by the boolean keyword-only argument reset_sequences. This ensures that the old function signature can't be used by mistake when upgrading Django. When the new argument is True, the sequences of the truncated tables will reset. Using a single boolean value, rather than a list, allows making a binary yes/no choice as to whether to reset all sequences rather than a working on a completely different set.
2020-04-17Added test coverage for DatabaseOperations.sql_flush().Jon Dufresne
2020-02-04Simplified imports from django.db and django.contrib.gis.db.Nick Pope
2019-07-30Refs #30593 -- Fixed introspection of check constraints columns on MariaDB.Hasan Ramezani
2019-07-30Refs #30593 -- Added _parse_constraint_columns() hook to introspection on ↵Hasan Ramezani
MariaDB.
2019-07-16Fixed #30636 -- Fixed options ordering when cloning test database on MySQL.Yann Sionneau
--defaults-file must be given before other options.
2019-01-19Fixed #30117 -- Fixed SchemaEditor.quote_value() test for mysqlclient 1.4.0+.Mariusz Felisiak
2018-12-05Refs #30013 -- Fixed SchemaEditor.quote_value() test for mysqlclient 1.3.14+.Tim Graham
2018-10-25Fixed #29827 -- Fixed reuse of test databases with --keepdb on MySQL.Sergey Fedoseev
Regression in e1253bc26facfa1d0fca161f43925e99c2591ced.
2018-07-09Refs #29548 -- Fixed non-GIS test failures on MariaDB.Tom Forbes
2018-05-18Fixed #29380 -- Added support for QuerySet.select_for_update()'s nowait and ↵bakabiko
skip_locked options on MySQL 8+.
2018-03-17Fixed #29103 -- Removed bad 'b'-prefix added by MySQL's ↵Claude Paroz
SchemaEditor.quote_value().
2018-03-17Added tests for MySQL's SchemaEditor.quote_value().Claude Paroz
2017-11-20Fixed #28804 -- Fixed "Unknown system variable 'transaction_isolation'" on ↵Tim Graham
MariaDB. Regression in 967450a3bf940c43db891fe1e2ef3bcf73456ff8.
2017-11-14Fixed #28794 -- Fixed tx_isolation deprecation warning on MySQL 5.7.20+.Sergey Fedoseev
2017-06-21Reorganized backends tests.Mariusz Felisiak