[MDEV-17013] Illegal mix of collations latin1_swedish_ci and utf8mb4_general_ci Created: 2018-08-18 Updated: 2018-08-21 Resolved: 2018-08-20 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Character Sets |
| Affects Version/s: | 10.1.35 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Olaf van der Spek | Assignee: | Unassigned |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Debian |
||
| Description |
|
latin1 is a subset of utf8 so the comparison is well defined.
|
| Comments |
| Comment by Alice Sherepa [ 2018-08-20 ] |
|
https://dev.mysql.com/doc/refman/8.0/en/charset-collation-coercibility.html SELECT * FROM t WHERE a = 'ā'; - two strings are compared: 1) t.a value (latin1, latin1_swedish_ci, coercibility=2); So the server is trying to convert the second string to latin1, but it fails. |