mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
uuid() tests
This commit is contained in:
@ -19,6 +19,9 @@ hex(inet_aton('127.1'))
|
|||||||
select hex(inet_aton('127.1.1'));
|
select hex(inet_aton('127.1.1'));
|
||||||
hex(inet_aton('127.1.1'))
|
hex(inet_aton('127.1.1'))
|
||||||
7F010001
|
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
|
||||||
select length(format('nan', 2)) > 0;
|
select length(format('nan', 2)) > 0;
|
||||||
length(format('nan', 2)) > 0
|
length(format('nan', 2)) > 0
|
||||||
1
|
1
|
||||||
|
@ -12,6 +12,8 @@ select hex(inet_aton('127'));
|
|||||||
select hex(inet_aton('127.1'));
|
select hex(inet_aton('127.1'));
|
||||||
select hex(inet_aton('127.1.1'));
|
select hex(inet_aton('127.1.1'));
|
||||||
|
|
||||||
|
select length(uuid()), charset(uuid()), length(unhex(replace(uuid(),_utf8'-',_utf8'')));
|
||||||
|
|
||||||
#
|
#
|
||||||
# Test for core dump with nan
|
# Test for core dump with nan
|
||||||
#
|
#
|
||||||
|
Reference in New Issue
Block a user