#29548: Add official support for MariaDB
-------------------------------------+-------------------------------------
     Reporter:  Tim Graham           |                    Owner:  nobody
         Type:  New feature          |                   Status:  new
    Component:  Database layer       |                  Version:  master
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Tom Forbes):

 * cc: Tom Forbes (added)


Comment:

 I've fixed all the failing non-gis tests here:
 https://github.com/django/django/pull/10135

 I've been thinking about how to best support version checking both MySQL
 and MariaDB. You always have to check the MariaDB and MySQL versions
 carefully as they are numerically comparable but not logically.
 `connection.mysql_version > (8, 0, 0)` is True for all MariaDB versions,
 even if the feature you're testing is not compatible. We could add a
 `mariadb_version` property that returns an object that always compares to
 False if the database is not Mariadb, and vice versa for `mysql_version`?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29548#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.7ca9ea31115fcd2ed62b1b3864cc2fb8%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to