summaryrefslogtreecommitdiff
path: root/tests/backends
AgeCommit message (Collapse)Author
2019-01-19[2.1.x] Fixed #30117 -- Fixed SchemaEditor.quote_value() test for ↵Mariusz Felisiak
mysqlclient 1.4.0+. Backport of f05c02c4b8d4e423e57d453c4bd699dc5ff7eaa7 from master
2018-12-17[2.1.x] Fixed #30023 -- Prevented SQLite schema alterations while foreign ↵Simon Charette
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 315357ad25a6590e7f4564ec2e56a22132b09001 from master.
2018-12-05[2.1.x] Refs #30013 -- Fixed SchemaEditor.quote_value() test for mysqlclient ↵Tim Graham
1.3.14+. Backport of 734ce71824180740f2318750ae2436f4b60c30b1 from master.
2018-10-25[2.1.x] Fixed #29827 -- Fixed reuse of test databases with --keepdb on MySQL.Sergey Fedoseev
Regression in e1253bc26facfa1d0fca161f43925e99c2591ced. Backport of 9a88c6dd6aa84a1b35e585faa0058a0996cc7ed7 from master.
2018-10-02[2.1.x] Fixed #29813 -- Fixed DatabaseOperation test when run in isolation ↵Jon Dufresne
on MySQL. Backport of 7598cd4748dc402b0209e5eedb6d2a83c3da1620 from master.
2018-08-17[2.1.x] Refs #29015 -- Added database name to PostgreSQL database name too ↵Jon Dufresne
long exception. Backport of bf17f5e88466e3f571065345f5b2fea0d8af89fe from master
2018-08-03[2.1.x] Fixed #29613 -- Fixed --keepdb on PostgreSQL if the database exists ↵Mariusz Felisiak
and the user can't create databases. Regression in e776dd2db677d58dcb50aea20d3bb191537df25b. Thanks Tim Graham for the review. Backport of 1a9cbf41a130def83a7e384955544d08be0fc148 from master
2018-05-18[2.1.x] Fixed #29380 -- Added support for QuerySet.select_for_update()'s ↵bakabiko
nowait and skip_locked options on MySQL 8+. Backport of a7bc1aea03508f544c9dfac0f34b01996653cef4 from master
2018-05-09Fixed #29363 -- Added SimpleTestCase.assertWarnsMessage().Morgan Aubert
2018-04-28Fixed #29350 -- Fix get_primary_key_column() method in sqlite3 backendZackary Troop
Thanks Tim Graham and Mariusz Felisiak for the reviews.
2018-04-27Fixed #29015 -- Added an exception if the PostgreSQL database name is too long.priyanshsaxena
2018-04-03Refs #24791 -- Made PostgreSQL's nodb connection use first PostgresSQL db ↵Mariusz Felisiak
when 'postgres' db isn't available. Thanks Tim Graham and Claude Paroz for reviews.
2018-03-20Fixed #29227 -- Allowed BooleanField to be null=True.Tim Graham
Thanks Lynn Cyrin for contributing to the patch, and Nick Pope for review.
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
2018-03-13Fixed #29199 -- Fixed crash when database user password contains @ sign on ↵Mariusz Felisiak
Oracle. Thanks Shane Allgeier for the report and Tim Graham for the review.
2018-02-10Fixed #24747 -- Allowed transforms in QuerySet.order_by() and distinct(*fields).Matthew Wilkes
2018-01-23Refs #11487 -- Removed redundant test_long_string() test.Mariusz Felisiak
Redundant with model_regress.tests.ModelTests.test_long_textfield since 3ede430b9a94e3c2aed64d2cf898920635bdf4ae.
2018-01-06Fixed #28859 -- Made Oracle backend raise DatabaseError if "no data found" ↵Mariusz Felisiak
exception is hidden by the Oracle OCI library. Thanks Tim Graham for the review and Jani Tiainen for the report.
2017-12-06Fixed #28893 -- Removed unnecessary dict.items() calls.Tim Graham
2017-12-01Fixed #28849 -- Fixed referenced table and column rename on SQLite.Simon Charette
Thanks Ramiro for the input and Tim for the review.
2017-11-29Fixed #28702 -- Made query lookups for CIText fields use citext.Mads Jensen
2017-11-28Fixed #28853 -- Updated connection.cursor() uses to use a context manager.Jon Dufresne
2017-11-21Fixed #28817 -- Made QuerySet.iterator() use server-side cursors after ↵Dražen Odobašić
values() and values_list().
2017-11-21Added assertion helpers for PostgreSQL's server-side cursor tests.Tim Graham
2017-11-20Fixed #28804 -- Fixed "Unknown system variable 'transaction_isolation'" on ↵Tim Graham
MariaDB. Regression in 967450a3bf940c43db891fe1e2ef3bcf73456ff8.
2017-11-14Fixed #28792 -- Fixed index name truncation of namespaced tables.Simon Charette
Refs #27458, #27843. Thanks Tim and Mariusz for the review.
2017-11-14Fixed #28794 -- Fixed tx_isolation deprecation warning on MySQL 5.7.20+.Sergey Fedoseev
2017-10-06Fixed #28665 -- Change some database exceptions to NotImplementedError per ↵Simon Charette
PEP 249.
2017-10-05Fixed #28596 -- Fixed QuerySet.bulk_create() and cascade deletion crash on ↵Mariusz Felisiak
Oracle when using more than 65535 parameters. Thanks Tim Graham for the review.
2017-10-03Refs #28584 -- Removed unused DatabaseFeatures.can_share_in_memory_db.Tim Graham
2017-09-30Increased test coverage for db/backends/base/operations.py.Mads Jensen
2017-09-21Refs #28595 -- Added a hook to add execute wrappers for database queries.Shai Berger
Thanks Adam Johnson, Carl Meyer, Anssi Kääriäinen, Mariusz Felisiak, Michael Manfre, and Tim Graham for discussion and review.
2017-09-18Fixed #26608 -- Added support for window expressions (OVER clause).Mads Jensen
Thanks Josh Smeaton, Mariusz Felisiak, Sergey Fedoseev, Simon Charettes, Adam Chainz/Johnson and Tim Graham for comments and reviews and Jamie Cockburn for initial patch.
2017-09-13Refs #27090 -- Added real database sequence introspection.Mariusz Felisiak
Thanks Mariusz Felisiak for the Oracle part and Tim Graham for the review.
2017-09-07Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()."Tim Graham
This reverts commit 550cb3a365dee4edfdd1563224d5304de2a57fda because try/except performs better.
2017-09-05Added tests for BooleanField/NullBooleanField's check constraints on Oracle.Mariusz Felisiak
2017-08-22Fixed #28451 -- Restored pre-Django 1.11 Oracle sequence/trigger naming.Kevin Grinberg
Regression in 69b7d4b116e3b70b250c77829e11038d5d55c2a8.
2017-08-12Fixed #23546 -- Added kwargs support for CursorWrapper.callproc() on Oracle.Mariusz Felisiak
Thanks Shai Berger, Tim Graham and Aymeric Augustin for reviews and Renbi Yu for the initial patch.
2017-08-08Refs #23766 -- Added tests for CursorWrapper.callproc().Mariusz Felisiak
Thanks Tim Graham for the review.
2017-06-28Fixed #27818 -- Replaced try/except/pass with contextlib.suppress().Mads Jensen
2017-06-26Refs #23919 -- Stopped inheriting from object to define new style classes.Mariusz Felisiak
Tests and docs complement to cecc079168e8669138728d31611ff3a1e7eb3a9f.
2017-06-21Reorganized backends tests.Mariusz Felisiak
2017-06-21Refs #25530 -- Renamed deferred SQL references on rename operation.Simon Charette
2017-06-21Refs #25530 -- Tracked references of deferred SQL statements.Simon Charette
2017-06-13Fixed #27830 -- Used distutils.version.LooseVersion for version parsing.chillaranand
2017-06-01Refs #23968 -- Removed unnecessary lists, generators, and tuple calls.Jon Dufresne
2017-06-01Sorted imports per isort 4.2.9.Tim Graham
2017-05-27Fixed #28249 -- Removed unnecessary dict.keys() calls.Jon Dufresne
iter(dict) is equivalent to iter(dict.keys()).
2017-05-23Refs #27859 -- Added DatabaseWrapper.display_name.Mariusz Felisiak
Thanks Tim Graham for the review.