#29451: Add compatibility with MySQL 8
-------------------------------------+-------------------------------------
     Reporter:  Tim Graham           |                    Owner:  nobody
         Type:                       |                   Status:  new
  Cleanup/optimization               |
    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
-------------------------------------+-------------------------------------

Comment (by Tom Forbes):

 I was investigating this and was surprised to see that `REGEXP BINARY
 '.*'` matched nothing when using MySQL 8. I thought there might be a bug
 with MySQL but could not find much online other than this cryptic commit
 entitled `Work around REGEXP BINARY not working correctly on MySQL 8 by
 using REGEXP_LIKE`:

 
https://github.com/jeremyevans/sequel/commit/ba3ea1c218d10bbab3f2b48039faedd4859865f8

 After copying the Oracle `regex_lookup` method which does exactly this all
 tests pass on 8, however the REGEXP_LIKE function does not exist in MySQL
 5.6.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29451#comment:5>
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.6d0fc8fdff9581027a8e137882348f40%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to