[MDEV-10865] COLLATE keyword doesn't work in PREPARE query Created: 2016-09-22 Updated: 2023-11-28 |
|
| Status: | Confirmed |
| Project: | MariaDB Server |
| Component/s: | Character Sets |
| Affects Version/s: | 5.5, 10.0, 10.1, 10.2, 10.3, 10.4, 10.5, 10.6, 10.7, 10.8, 10.9, 10.10 |
| Fix Version/s: | 10.4, 10.5, 10.6 |
| Type: | Bug | Priority: | Major |
| Reporter: | Diego Dupin | Assignee: | Alexander Barkov |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | django, upstream | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
COLLATE keyword doesn't work in PREPARE query.
Text work well
will throw an error
In PREPARE, collate is always considering character set as binary. |
| Comments |
| Comment by Elena Stepanova [ 2016-09-26 ] | |
|
Same on MySQL 5.7. More precisely, it's not just "in prepare", it's "in prepare for placeholders". | |
| Comment by Alexander Barkov [ 2016-09-27 ] | |
|
Looks like a bug. | |
| Comment by Alexander Barkov [ 2020-07-27 ] | |
|
Hi ralf.gebhardt@mariadb.com, I think a few hours should be enough. | |
| Comment by Alexander Barkov [ 2020-09-20 ] | |
|
There is a simple workaround:
|