Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/django/db/backends/mysql
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #25470 -- Avoided unnecessary, expensive DATETIME ↵Mariusz Felisiak2015-10-221-10/+8
| | | | typecast on MySQL.
* Fixed #25196 -- Normalized database representations in ↵Ville Skyttä2015-09-251-1/+3
| | | | | | test database messages. Left over Oracle mostly as-is since it's more complicated.
* Fixed #24509 -- Added Expression support to ↵Alex Hill2015-09-221-3/+4
| | | | SQLInsertCompiler
* Fixed #25393 -- Fixed MySQL crash when adding text/blob ↵Ville Skyttä2015-09-141-1/+2
| | | | field with unhashable default.
* Enabled parallel testing by default in runtests.py.Aymeric Augustin2015-09-101-0/+1
|
* Cloned databases for running tests in parallel.Aymeric Augustin2015-09-091-0/+36
|
* Renamed RemovedInDjangoXYWarnings for new roadmap.Tim Graham2015-06-241-3/+3
| | | | | Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more.
* Fixed #24972 -- Fixed removing unique_together indexes ↵Adam Brenecki2015-06-151-4/+2
| | | | on MySQL.
* Fixed #9596 -- Added date transform for DateTimeField.Jon Dufresne2015-06-021-13/+12
|
* Fixed #24846 -- Added support to MySQL SchemaEditor for ↵Adam Chainz2015-05-311-3/+10
| | | | all blob/text data types
* Fixed #24817 -- Prevented loss of null info in MySQL ↵Andriy Sokolovskiy2015-05-281-3/+14
| | | | field renaming.
* Fixed #23820 -- Supported per-database time zone.Aymeric Augustin2015-05-172-2/+4
| | | | | | | | | The primary use case is to interact with a third-party database (not primarily managed by Django) that doesn't support time zones and where datetimes are stored in local time when USE_TZ is True. Configuring a PostgreSQL database with the TIME_ZONE option while USE_TZ is False used to result in silent data corruption. Now this is an error.
* Renamed value_to_db_xxx to adapt_xxxfield_value.Aymeric Augustin2015-05-171-2/+2
| | | | | This mirrors convert_xxxfield_value nicely, taking advantage of the adapter/converter terminology which is commonly used by DB-API modules.
* Removed global timezone-aware datetime adapters.Aymeric Augustin2015-05-171-10/+10
| | | | | | | | | | Refs #23820. Fixed #19738. Refs #17755. In order not to introduce a regression for raw queries, parameters are passed through the connection.ops.value_to_db_* methods, depending on their type.
* Normalized the implementation of get_db_converters.Aymeric Augustin2015-05-171-10/+10
| | | | Put the types in the same order and checked for None consistently.
* Removed global timezone-aware datetime converters.Aymeric Augustin2015-05-172-14/+8
| | | | Refs #23820.
* Fixed #24757 -- Recreated MySQL index when needed during ↵Claude Paroz2015-05-151-0/+18
| | | | | | | combined index removal Thanks Thomas Recouvreux for the report and Tim Graham for the tests and review.
* Fixed #24595 -- Prevented loss of null info in MySQL ↵Claude Paroz2015-04-171-0/+8
| | | | | | | field alteration Thanks Simon Percivall for the report, and Simon Charette and Tim Graham for the reviews.
* Fixed #24584 -- Fixed microsecond handling with older ↵Jon Dufresne2015-04-061-1/+7
| | | | MySQLdb
* Removed duplicate attribute in MySQL DatabaseSchemaEditor.Andriy Sokolovskiy2015-03-311-2/+0
|
* Renamed Field.rel attribute to remote_fieldAnssi Kääriäinen2015-03-251-1/+1
| | | | | | | | Field.rel is now deprecated. Rel objects have now also remote_field attribute. This means that self == self.remote_field.remote_field. In addition, made the Rel objects a bit more like Field objects. Still, marked ManyToManyFields as null=True.
* Update converters to take a consistent set of parameters.Marc Tamlyn2015-02-201-3/+3
| | | | | | As suggested by Anssi. This has the slightly strange side effect of passing the expression to Expression.convert_value has the expression passed back to it, but it allows more complex patterns of expressions.
* Removed unused foreign_key_re variables in MySQL/Oracle ↵Adam Chainz2015-02-181-2/+0
| | | | DB backends
* Unified local imports in django.db.backends.mysql.я котик пур-пур2015-02-091-1/+1
|
* Sorted imports with isort; refs #23860.Tim Graham2015-02-062-13/+13
|
* Fixed #24245 -- Added introspection for database defaults.Tim Graham2015-01-311-5/+6
| | | | Needed for tests for migrations handling of database defaults.
* Removed obsolete SQL generation methods.Tim Graham2015-01-181-30/+0
|
* Fixed #22603 -- Reorganized classes in django.db.backends.Tim Graham2015-01-148-282/+301
|
* Fixed #24060 -- Added OrderBy ExpressionsJosh Smeaton2015-01-121-1/+1
|
* Fixed #17785 -- Preferred column names in get_relations ↵Claude Paroz2015-01-121-13/+3
| | | | | | | introspection Thanks Thomas Güttler for the report and the initial patch, and Tim Graham for the review.
* Removed supports_binary_field flag as all backends ↵Claude Paroz2015-01-111-2/+0
| | | | | | | | support them It was mainly for MySQL on Python 3, but now the current recommended MySQL driver for Python 3 (mysqlclient) does support binary fields, it is unneeded. Refs #20377.
* Fixed #24020 -- Refactored SQL compiler to use expressionsAnssi Kääriäinen2015-01-081-6/+7
| | | | | | | | | | | | | | | Refactored compiler SELECT, GROUP BY and ORDER BY generation. While there, also refactored select_related() implementation (get_cached_row() and get_klass_info() are now gone!). Made get_db_converters() method work on expressions instead of internal_type. This allows the backend converters to target specific expressions if need be. Added query.context, this can be used to set per-query state. Also changed the signature of database converters. They now accept context as an argument.
* Moved DatabaseCreation.data_types properties to ↵Tim Graham2014-12-312-39/+39
| | | | | | DatabaseWrapper. refs #22340.
* Removed db.backends methods which only call super().Tim Graham2014-12-301-3/+0
|
* Fixed #14180 -- Prevented unneeded index creation on ↵Claude Paroz2014-12-272-2/+18
| | | | | | | MySQL-InnoDB Thanks zimnyx for the report and Simon Charette, Tim Graham for the reviews.
* Fixed #23753 -- Added a suite of SQL FunctionsJosh Smeaton2014-12-271-0/+7
| | | | | | | | | Added functions and tests Added docs and more tests Added TextField converter to mysql backend Aliased Value as V in example docs and tests Removed unicode_compatible in example Fixed console emulation in examples
* Fixed #2443 -- Added DurationField.Marc Tamlyn2014-12-202-3/+7
| | | | | | | | | | | A field for storing periods of time - modeled in Python by timedelta. It is stored in the native interval data type on PostgreSQL and as a bigint of microseconds on other backends. Also includes significant changes to the internals of time related maths in expressions, including the removal of DateModifierNode. Thanks to Tim and Josh in particular for reviews.
* Fixed #23968 -- Replaced list comprehension with ↵Jon Dufresne2014-12-081-2/+2
| | | | generators and dict comprehension
* Fixed #16731 -- Made pattern lookups work properly with ↵Thomas Chaumeny2014-11-281-0/+18
| | | | F() expressions
* Fixed #23867 -- removed DateQuerySet hacksAnssi Kääriäinen2014-11-261-8/+0
| | | | | | The .dates() queries were implemented by using custom Query, QuerySet, and Compiler classes. Instead implement them by using expressions and database converters APIs.
* Fixed #23889 -- Added more usage of ↵Collin Anderson2014-11-211-1/+2
| | | | quote_name_unless_alias() to avoid deprecation warnings.
* Added AutoField introspection for MySQLClaude Paroz2014-11-202-18/+32
| | | | Refs #23748.
* Fixed #23871 -- Removed promotion of MySQL warnings to ↵Tim Graham2014-11-191-4/+0
| | | | errors in DEBUG mode.
* Simplified MySQL storage engine detection using ↵Thomas Chaumeny2014-11-101-8/+2
| | | | | | INFORMATION_SCHEMA.ENGINES table Query the table introduced in MySQL 5.1; refs #23144.
* Required MySQLdb >= 1.2.5 for fractional seconds supportClaude Paroz2014-10-281-1/+3
| | | | | | On MySQLdb < 1.2.5, MySQLdb returns None when fetching datetime/time values with fractional seconds. See https://github.com/farcepest/MySQLdb1/issues/24
* Fixed #19716 -- Added support for microseconds with ↵Claude Paroz2014-10-282-3/+14
| | | | | | MySQL 5.6.4 and up Thanks erik@cederstrand.dk for the report and Tim Graham for the review.
* Stopped stripping microseconds with MySQL backendClaude Paroz2014-10-281-9/+2
| | | | Refs #19716.
* Fixed typo in MySQL backend doctringClaude Paroz2014-10-271-1/+1
| | | | Thanks CHI Cheng for the report.
* Fixed #23446 -- Officially recommended mysqlclient as ↵Claude Paroz2014-10-271-1/+2
| | | | | | | MySQL driver Thanks Corey Farwell for the report and Tim Graham for the review. Thanks also to Inada Naoki for creating and maintaining mysqlclient.
* Fixed git blunder, refs #22738Shai Berger2014-09-271-1/+1
|