Opened 7 years ago
Last modified 7 years ago
#29251 closed Bug
MySQL backend returns bytes instead of strings in some queries involving database functions — at Version 2
Reported by: | Mariusz Felisiak | Owned by: | Mariusz Felisiak |
---|---|---|---|
Component: | Database layer (models, ORM) | Version: | dev |
Severity: | Normal | Keywords: | mysql bytes |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
PR 9808 revealed a bug in the MySQL backend. mysqlclient
returns bytes
instead of strings
in some edge cases, e.g.:
LPad('name', Length('alias'))
Replace('name', Length('alias'))
Change History (2)
comment:1 by , 7 years ago
Owner: | changed from | to
---|
comment:2 by , 7 years ago
Description: | modified (diff) |
---|---|
Has patch: | set |
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 |
Triage Stage: | Unreviewed → Ready for checkin |
Type: | Uncategorized → Bug |
Note:
See TracTickets
for help on using tickets.
PR