Commit cb3cb957 authored by unknown's avatar unknown

uuid() tests

parent 1f0b9d14
...@@ -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