test added

This commit is contained in:
Yakov Olkhovskiy 2023-02-01 01:40:27 +00:00
parent 3d64c84571
commit 755df1e475
2 changed files with 3 additions and 0 deletions

View File

@ -33,6 +33,7 @@ IPv6 functions
::ffff:127.0.0.1
::
\N
100000000
--
::ffff:127.0.0.1
--

View File

@ -60,6 +60,8 @@ SELECT toIPv6('::.1.2.3'); --{serverError CANNOT_PARSE_IPV6}
SELECT toIPv6OrDefault('::.1.2.3');
SELECT toIPv6OrNull('::.1.2.3');
SELECT count() FROM numbers_mt(100000000) WHERE NOT ignore(toIPv6OrZero(randomString(8)));
SELECT '--';
SELECT cast('test' , 'IPv6'); --{serverError CANNOT_PARSE_IPV6}