summaryrefslogtreecommitdiff
path: root/tests/backends
AgeCommit message (Collapse)Author
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.
2017-05-06Fixed #28062 -- Added a setting to disable server-side cursors on PostgreSQL.François Freitag
When a connection pooler is set up in transaction pooling mode, queries relying on server-side cursors fail. The DISABLE_SERVER_SIDE_CURSORS setting in DATABASES disables server-side cursors for this use case.
2017-04-25Added test for reraising backend-specific database exceptions.Mariusz Felisiak
2017-04-25Fixed #28116 -- Used error code filtering in PostgreSQL test database creation.Mariusz Felisiak
Thanks Claude Paroz and Tim Graham for reviews.
2017-04-13Refs #25406 -- Removed exception hiding in MySQL test database creation ↵Mariusz Felisiak
during --keepdb. Thanks Adam Johnson, Simon Charette and Tim Graham for reviews.
2017-04-10Fixed #25406 -- Removed exception hiding in PostgreSQL test database ↵Mariusz Felisiak
creation during --keepdb. Thanks Markus Holtermann and Tim Graham for reviews.
2017-03-01Removed PostgreSQL version detection for psycopg2 < 2.0.12.Tim Graham
2017-03-01Fixed a backends test with psycopg2 2.7.Tim Graham