summaryrefslogtreecommitdiff
path: root/django/db/backends
AgeCommit message (Collapse)Author
2017-01-06Fixed #27690 -- Removed time.sleep(1) before dropping the test database.David Szotten
Uncertain if this is needed, but no failures have appeared so far.
2017-01-03Fixed #25912 -- Added binary left/right shift operators to F expressions.anabelensc
Thanks Mariusz Felisiak for review and MySQL advice.
2017-01-03Fixed #27681 -- Fixed binary &/| operators for negative values on MySQL.Mariusz Felisiak
2017-01-01Refs #27632 -- Simplified params dict creation for Oracle (#7772)Josh Smeaton
2016-12-30Fixed #27458 -- Fixed invalid sequence/index names when using "USER"."TABLE" ↵Andrew Nester
db_table on Oracle.
2016-12-29Fixed #27615 -- Used timedeltas as arguments to Oracle database driver.Mariusz Felisiak
Removed unused DatabaseFeatures.driver_supports_timedeltas workaround.
2016-12-29Fixed #27649 -- Bumped required cx_Oracle to 5.2.Tim Graham
Removed obsolete workarounds from 1aa48898085ea16915877cc139e238a74e3f554b and dcf3be7a621f011a918453527406216a738acf68.
2016-12-29Refs #25415 -- Made MySQL backend skip field validation of unsupported models.Adam Chainz
2016-12-28Fixed #27631 -- Prevented execution of transactional DDL statements when ↵Simon Charette
unsupported. Executing a DDL statement during a transaction on backends that don't support it silently commits, leaving atomic() in an incoherent state. While schema_editor.execute() could technically be used to execute DML statements such usage should be uncommon as these are usually performed through the ORM. In other cases schema_editor.connection.execute() can be used to circumvent this check. Thanks Adam and Tim for the review.
2016-12-28Refs #27632 -- Unified query parameters by their types and values on Oracle.Mariusz Felisiak
Fixed Python 2 regression in 6dbe56ed7855f34585884a2381fb1cec22ddc824. Thanks Simon Charette for the implementation idea.
2016-12-28Fixed #27632 -- Unified query parameters by their values on Oracle.Mariusz Felisiak
2016-12-24Fixed #25492 -- Checked deferred foreign key constraints before dropping them.Simon Charette
This allows running foreign key data and schema altering operations in the same migration on PostgreSQL. Thanks Tim for review.
2016-12-19Refs #19884 -- Removed DatabaseFeatures.can_introspect_max_length.Mariusz Felisiak
Unused (always True) after 3e43d24ad36d45cace57e6a7efd34638577ae744.
2016-12-19Refs #19884 -- Added CharField max_length introspection on Oracle.Mariusz Felisiak
2016-12-05Refs #27324 -- Optimized DatabaseIntrospection.get_constraints() for foreign ↵Mariusz Felisiak
keys on Oracle.
2016-12-02Fixed #27561 -- Added Oracle support for binary "or" operator.Mariusz Felisiak
Removed DatabaseFeatures.supports_bitwise_or feature (unused, always True).
2016-11-30Refs #24245 -- Added introspection for database defaults on Oracle.Mariusz Felisiak
2016-11-29Fixed #27544 -- Fixed QuerySet.update(dt=F('dt') + timedelta) crash on SQLite.Andrew Nester
2016-11-28Fixed #27321 -- Added detection for table case name sensitivity on MySQL.Adam Chainz
2016-11-28Refs #26327 -- Renamed JsonAgg to JSONBAgg.Mads Jensen
Thanks to Christian von Roques for the report.
2016-11-25Fixed grammar in sqlite's DatabaseOperations.bulk_batch_size()'s docstring.Daniel Hahler
2016-11-23Fixed #24959 -- Fixed queries using negative timedeltas on MySQL and Oracle.Mariusz Felisiak
2016-11-23Fixed #27504 -- Allowed using the ORM after an error and rollback when ↵Mark Young
autocommit is off.
2016-11-14Fixed #27481 -- Made SQLite return annotated boolean values as boolean, not ↵Sergey Fedoseev
integer. Thanks Simon Charette for review.
2016-11-14Fixed E305 flake8 warnings.Ramin Farajpour Cami
2016-11-11Fixed #25240 -- Added ExtractWeek and exposed it through the __week lookup.Mads Jensen
Thanks to Mariusz Felisiak and Tim Graham for review.
2016-11-08Refs #27420 -- Removed exception hiding in Oracle test user creation during ↵Mariusz Felisiak
--keepdb. If the test user creation fails here, _create_test_db() would return without switching to the test user which caused the tests to run using the main connection instead of the test user.
2016-11-08Fixed #27420 -- Quoted the Oracle test user password in queries.Mariusz Felisiak
2016-11-06Fixed #27372 -- Fixed introspection of SQLite foreign keys with spaces in DDL.Saulius Žemaitaitis
Thanks samuller for the report and initial patch.
2016-11-05Fixed #27441 -- Improved SQL for 'DROP COLUMN' on MySQLAdam Chainz
'CASCADE' is an undocumented no-op in MySQL, so to avoid confusion Django no longer outputs it.
2016-11-01Fixed CVE-2016-9013 -- Generated a random database user password when ↵Marti Raudsepp
running tests on Oracle. This is a security fix.
2016-10-28Fixed #20939 -- Simplified query generation by converting QuerySet to Query.Tim Graham
Thanks Anssi Kääriäinen for the initial patch and Anssi, Simon Charette, and Josh Smeaton for review.
2016-10-27Fixed #27327 -- Simplified time zone handling by requiring pytz.Tim Graham
2016-10-25Updated postgresql.org links to https and made them canonical.Marti Raudsepp
2016-10-17Refs #20888 -- Fixed index ordering introspection on PostgreSQL 9.6.François Freitag
2016-10-14Removed DatabaseFeatures.can_combine_inserts_with_and_without_auto_increment_pk.Tim Graham
Unused (always False) after 29132ebdef0e0b9c09e456b05f0e6a22f1106a4f.
2016-10-14Fixed #27324 -- Simplified DatabaseIntrospection.get_constraints() on Oracle.Mariusz Felisiak
2016-10-12Fixed #27323 -- Optimized Oracle introspection by using USER_SEQUENCES ↵Mariusz Felisiak
instead of USER_CATALOG.
2016-10-01Fixed #26541 -- Allowed MySQL transaction detection to work without table ↵Mariusz Felisiak
creation.
2016-09-30Updated links to the current version of MySQL docs.Tim Graham
2016-09-27Fixed #27282 -- Allowed using an integer DATABASES['PORT'] for Oracle.Zapelini
2016-09-26Removed DatabaseError and IntegrityError declarations from database backends.Adam Chainz
Unused since 11ee9746a0530ec38f523fb4de44950d9b783877.
2016-09-22Removed unnecessary casting when using builtin lookups on PostgreSQL.Simon Charette
2016-09-19Fixed #27219 -- Changed cx_Oracle client encoding to AL32UTF8 to allow ↵Dmitry Medvinsky
4-byte characters.
2016-09-17Refs #27025 -- Fixed "invalid escape sequence" warnings in Python 3.6.Tim Graham
http://bugs.python.org/issue27364
2016-09-16Fixed #27235 -- Removed some usage of mutable default arguments.Chris Lamb
2016-09-12Used a database feature to prevent the jsonb test model from being migrated.Simon Charette
Thanks Tim for the review.
2016-09-12Refs #27098 -- Added introspection for expression-based index on PostgreSQLClaude Paroz
Also test it on PostGIS raster fields.
2016-09-12Reformatted PostgreSQL query for better readabilityClaude Paroz
2016-09-12Fixed #27098 -- Deprecated DatabaseIntrospection.get_indexesClaude Paroz
Thanks Akshesh <aksheshdoshi@gmail.com> for help with the PostgreSQL query. Thanks Tim Graham for the review.