Changes between Initial Version and Version 2 of Ticket #29251
- Timestamp:
- Mar 22, 2018, 8:36:04 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29251
- Property Owner changed from to
- Property Has patch set
- Property Triage Stage Unreviewed → Ready 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 Uncategorized → Bug
-
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.:1 PR [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.: 2 2 3 ` ``LPad('name', Length('alias'))```,4 ` ``Replace('name', Length('alias'))```.3 `LPad('name', Length('alias'))` 4 `Replace('name', Length('alias'))`