Changes between Initial Version and Version 2 of Ticket #29251


Ignore:
Timestamp:
Mar 22, 2018, 8:36:04 PM (6 years ago)
Author:
Tim Graham
Comment:

PR

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #29251

    • Property Owner changed from nobody to Mariusz Felisiak
    • Property Has patch set
    • Property Triage Stage UnreviewedReady for checkin
    • Property Summary The MySQL back-end returns bytes instead of strings in some cases.MySQL backend returns bytes instead of strings in some queries involving database functions
    • Property Type UncategorizedBug
  • Ticket #29251 – Description

    initial v2  
    1 PR [https://github.com/django/django/pull/9808 9808] revealed a bug in the MySQL back-end.  `mysqlclient` returns `bytes` instead of `strings` in some edge cases, e.g.:
     1PR [https://github.com/django/django/pull/9808 9808] revealed a bug in the MySQL backend.  `mysqlclient` returns `bytes` instead of `strings` in some edge cases, e.g.:
    22
    3 ```LPad('name', Length('alias'))```,
    4 ```Replace('name', Length('alias'))```.
     3`LPad('name', Length('alias'))`
     4`Replace('name', Length('alias'))`
Back to Top