Commit eb6f68ec authored by serg@serg.mylan's avatar serg@serg.mylan

uuid() tests

parent 49e9b153
...@@ -19,6 +19,9 @@ hex(inet_aton('127.1')) ...@@ -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')); ...@@ -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
# #
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment