Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
5.5(EOL), 10.1(EOL), 10.2(EOL), 10.3(EOL), 10.4(EOL), 10.5
-
None
Description
Illegal mix of collations with UUID()
SET NAMES utf8 COLLATE utf8_unicode_ci; |
SELECT uuid()>''; |
ERROR 1267 (HY000): Illegal mix of collations (utf8_general_ci,COERCIBLE) and (utf8_unicode_ci,COERCIBLE) for operation '>'
|
Attachments
Issue Links
- blocks
-
MDEV-4958 Adding datatype UUID
-
- Closed
-
Activity
issue.field.resolutiondate | 2019-11-05 03:13:39.0 | 2019-11-05 03:13:39.815 |
Fix Version/s | 10.5.0 [ 23709 ] | |
Fix Version/s | 10.5 [ 23123 ] | |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Workflow | MariaDB v3 [ 100570 ] | MariaDB v4 [ 156894 ] |
Fixing UUID() as follows:
So now UUID() has a lower collation priority than a string literal (or an expression derived from a string literal).