mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-20890 Illegal mix of collations with UUID()
This commit is contained in:
@ -22,7 +22,7 @@ hex(inet_aton('127.1.1'))
|
||||
7F010001
|
||||
select length(uuid()), charset(uuid()), length(unhex(replace(uuid(),_utf8'-',_utf8'')));
|
||||
length(uuid()) charset(uuid()) length(unhex(replace(uuid(),_utf8'-',_utf8'')))
|
||||
36 utf8 16
|
||||
36 latin1 16
|
||||
set @a= uuid_short();
|
||||
set @b= uuid_short();
|
||||
select @b - @a;
|
||||
@ -107,7 +107,7 @@ create table t1 as select uuid(), length(uuid());
|
||||
show create table t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`uuid()` varchar(36) CHARACTER SET utf8 DEFAULT NULL,
|
||||
`uuid()` varchar(36) DEFAULT NULL,
|
||||
`length(uuid())` int(10) DEFAULT NULL
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1
|
||||
drop table t1;
|
||||
|
Reference in New Issue
Block a user