mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
UUID() function should return UUID, not VARCHAR(36)
This commit is contained in:
@ -118,9 +118,12 @@ create table t1 as select uuid(), length(uuid());
|
||||
show create table t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`uuid()` varchar(36) DEFAULT NULL,
|
||||
`uuid()` uuid DEFAULT NULL,
|
||||
`length(uuid())` int(10) DEFAULT NULL
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1
|
||||
select length(`uuid()`) from t1;
|
||||
length(`uuid()`)
|
||||
36
|
||||
drop table t1;
|
||||
create table t1 select INET_ATON('255.255.0.1') as `a`;
|
||||
show create table t1;
|
||||
|
Reference in New Issue
Block a user