mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
uuid() tests
This commit is contained in:
parent
1f0b9d14c3
commit
cb3cb957b2
2 changed files with 5 additions and 0 deletions
|
|
@ -19,6 +19,9 @@ hex(inet_aton('127.1'))
|
|||
select hex(inet_aton('127.1.1'));
|
||||
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
|
||||
select length(format('nan', 2)) > 0;
|
||||
length(format('nan', 2)) > 0
|
||||
1
|
||||
|
|
|
|||
|
|
@ -12,6 +12,8 @@ select hex(inet_aton('127'));
|
|||
select hex(inet_aton('127.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
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue