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 Tim Graham)

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 Mariusz Felisiak, 7 years ago

Owner: changed from nobody to Mariusz Felisiak

comment:2 by Tim Graham, 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: UnreviewedReady for checkin
Type: UncategorizedBug
Note: See TracTickets for help on using tickets.
Back to Top