#30371: sqlmigrate fails with string defaults on mysql
-------------------------------------+-------------------------------------
     Reporter:  Melvyn Sopacua       |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  2.1
  (models, ORM)                      |
     Severity:  Release blocker      |               Resolution:  needsinfo
     Keywords:  regression           |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Claude Paroz):

 Replying to [comment:6 Melvyn Sopacua]:
 > - compare mysql driver versions: pymysql 0.9.3

 Ah, ah... that is probably the explanation. It might be that pymysql
 doesn't return a bytestring from `quote()` which would explain the issue
 (to be confirmed). Django doesn't officially support pymysql (read also
 #30380). It's another issue where we might call `force_text` instead of
 `decode()`. However this section is a bit more performance-sensitive.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30371#comment:7>
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/064.c758a1615033fce6e3b7586f457b6aba%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to