1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

uuid() tests

This commit is contained in:
serg@serg.mylan
2004-03-16 16:35:53 +01:00
parent 49e9b153ff
commit eb6f68ec9a
2 changed files with 5 additions and 0 deletions

View File

@ -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

View File

@ -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
# #