summaryrefslogtreecommitdiff
path: root/django/db/backends/mysql/introspection.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed #20989 -- Removed useless explicit list comprehensions.Simon Charette2013-08-301-2/+2
|
* Docs tweaks (thanks timgraham)Andrew Godwin2013-08-101-3/+3
|
* Remove pointless comment.Andrew Godwin2013-08-091-1/+0
|
* Merge branch 'master' into schema-alterationAndrew Godwin2013-07-221-0/+1
|\ | | | | | | | | | | | | | | | | Conflicts: django/db/backends/mysql/introspection.py django/db/backends/oracle/creation.py django/db/backends/postgresql_psycopg2/creation.py django/db/models/base.py django/db/models/loading.py
| * A large number of stylistic cleanups across django/db/Alex Gaynor2013-07-081-1/+1
| |
* | Make get_constraints return columns in orderAndrew Godwin2013-07-021-3/+6
| |
* | Merge branch 'master' into schema-alterationAndrew Godwin2013-04-181-2/+15
|\ \ | |/ | | | | | | | | | | | | | | | | | | Conflicts: django/db/backends/__init__.py django/db/backends/mysql/base.py django/db/backends/oracle/base.py django/db/backends/oracle/creation.py django/db/backends/postgresql_psycopg2/base.py django/db/backends/sqlite3/base.py django/db/models/fields/related.py
| * Fixed #16737 -- Support non-ascii column names in inspectdbClaude Paroz2013-04-011-3/+6
| | | | | | | | Thanks moof at metamoof.net for the report.
| * Fixed getting max_digits for MySQL decimal fieldsClaude Paroz2013-04-011-1/+10
| | | | | | | | Refs #5014.
| * Fixed #19709 -- Fixed TimeField introspection on MySQLClaude Paroz2013-01-311-0/+1
| | | | | | | | Thanks Eugene Grachev for the report.
| * Return namedtuple from get_table_descriptionClaude Paroz2013-01-121-2/+2
| | | | | | | | | | We don't make use of it currently to not break third-party db backends.
* | Fix bug in get_indexes affecting the testsAndrew Godwin2012-09-171-0/+1
| |
* | Merge remote-tracking branch 'core/master' into schema-alterationAndrew Godwin2012-09-171-10/+0
|\ \ | |/ | | | | | | | | Conflicts: django/db/backends/mysql/base.py django/db/backends/postgresql_psycopg2/base.py
| * Moved get_primary_key_column implementation to baseClaude Paroz2012-09-081-10/+0
| | | | | | | | Refs #17574.
* | Merge branch 'master' into schema-alterationAndrew Godwin2012-09-051-5/+17
|\ \ | |/
| * Fixed #5725 -- Fixed varchar column size introspection for MySQLClaude Paroz2012-08-301-2/+13
| | | | | | | | | | Thanks ferdonline for the initial patch and Karen Tracey for the related post on django-users.
| * [py3] Prepared MySQL backend for Python 3 compatibilityClaude Paroz2012-08-201-3/+4
| |
* | Implement primary key changingAndrew Godwin2012-09-041-1/+6
| |
* | db_index alteration mostly workingAndrew Godwin2012-08-301-2/+17
| |
* | All tests passing on MySQLAndrew Godwin2012-08-181-26/+36
| |
* | First stab at MySQL supportAndrew Godwin2012-08-181-0/+32
|/
* [py3] Fixed access to dict keys/values/items.Aymeric Augustin2012-08-071-1/+2
|
* Made get_indexes() consistent across backends.Anssi Kääriäinen2012-04-301-7/+11
| | | | | | | | | | | | Fixed #15933, #18082 -- the get_indexes() method introspection was done inconsitently depending on the backend. For example SQLite included all the columns in the table in the returned dictionary, while MySQL introspected also multicolumn indexes. All backends return now consistenly only single-column indexes. Thanks to andi for the MySQL report, and ikelly for comments on Oracle's get_indexes() changes.
* Fixed #18116 -- Raised minimum MySQL version officially suported to 5.0.3.Ramiro Morales2012-04-211-21/+8
| | | | | | Thanks Carl, Claude and Anssi for discussion and patch review. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17921 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #3615: Added support for loading fixtures with forward references on ↵Karen Tracey2011-08-071-10/+24
| | | | | | database backends (such as MySQL/InnoDB) that do not support deferred constraint checking. Many thanks to jsdalton for coming up with a clever solution to this long-standing issue, and to jacob, ramiro, graham_king, and russellm for review/testing. (Apologies if I missed anyone else who helped here.) git-svn-id: http://code.djangoproject.com/svn/django/trunk@16590 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #399: Added big integer field. Thanks to Tomáš Kopeček for ↵Karen Tracey2009-12-171-1/+1
| | | | | | persistently maintaining a patch for this. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11887 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #7536 -- Added NEWDECIMAL to introspection types in the mysql backend. ↵Brian Rosner2008-08-231-0/+1
| | | | | | Thanks Jerome Etienne for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8475 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #5461 -- Refactored the database backend code to use classes for the ↵Russell Keith-Magee2008-08-111-83/+84
| | | | | | creation and introspection modules. Introduces a new validation module for DB-specific validation. This is a backwards incompatible change; see the wiki for details. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8296 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Refactored quote_name() to DatabaseOperations.quote_name(). Refs #5106Adrian Holovaty2007-08-201-1/+2
| | | | git-svn-id: http://code.djangoproject.com/svn/django/trunk@5967 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #2365, #3324 -- Renamed FloatField to DecimalField and changed the codeMalcolm Tredinnick2007-05-211-1/+1
| | | | | | | | | | | | | | | | | | to return Decimal instances in Python for this field. Backwards incompatible change. Added a real FloatField (stores floats in the database) and support for FloatField and DecimalField in newforms (analogous to IntegerField). Included decimal.py module (as django.utils._decimal) from Python 2.4. This is license compatible with Django and included for Python 2.3 compatibility only. Large portions of this work are based on patches from Andy Durdin and Jorge Gajon. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5302 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #4048 -- When introspecting a MySQL database, map CHAR(n) fields toMalcolm Tredinnick2007-04-201-1/+1
| | | | | | | Django's CharField type, not TextField. Thanks, Bill Fenner. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5042 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #2700 -- Improved introspection for MySQL. Thanks for the patch, ↵Adrian Holovaty2006-09-111-0/+1
| | | | | | serbaut@gmail.com git-svn-id: http://code.djangoproject.com/svn/django/trunk@3750 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #2699 -- Added quote_name() call to MySQL introspection.py. Thanks for ↵Adrian Holovaty2006-09-111-1/+1
| | | | | | the patch, serbaut@gmail.com git-svn-id: http://code.djangoproject.com/svn/django/trunk@3746 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed a bunch of spurious imports, typos, and other small errors turned up ↵Jacob Kaplan-Moss2006-07-211-1/+0
| | | | | | by a pass through PyFlakes. This covers about the first third of the errors. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3411 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #1830 -- MySQL inspectdb now detects tinyint field properlyAdrian Holovaty2006-05-161-0/+1
| | | | git-svn-id: http://code.djangoproject.com/svn/django/trunk@2922 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly ↵Adrian Holovaty2006-05-021-0/+94
backwards-incompatible. Please read http://code.djangoproject.com/wiki/RemovingTheMagic for upgrade instructions. git-svn-id: http://code.djangoproject.com/svn/django/trunk@2809 bcc190cf-cafb-0310-a4f2-bffc1f526a37