ClickHouse/tests/queries/0_stateless/01880_remote_ipv6.sql

24 lines
1.1 KiB
SQL

SET connections_with_failover_max_tries=0;
SELECT * FROM remote('[::1]', system.one) FORMAT Null;
SELECT * FROM remote('[::1]:9000', system.one) FORMAT Null;
SELECT * FROM remote('[::1', system.one) FORMAT Null; -- { serverError 36 }
SELECT * FROM remote('::1]', system.one) FORMAT Null; -- { serverError 36 }
SELECT * FROM remote('::1', system.one) FORMAT Null; -- { serverError 36 }
SELECT * FROM remote('[::1][::1]', system.one) FORMAT Null; -- { serverError 36 }
SELECT * FROM remote('[::1][::1', system.one) FORMAT Null; -- { serverError 36 }
SELECT * FROM remote('[::1]::1]', system.one) FORMAT Null; -- { serverError 36 }
SELECT * FROM remote('[::1]') FORMAT Null;
SELECT * FROM remote('[::1]:9000') FORMAT Null;
SELECT * FROM remote('[::1') FORMAT Null; -- { serverError 36 }
SELECT * FROM remote('::1]') FORMAT Null; -- { serverError 36 }
SELECT * FROM remote('::1') FORMAT Null; -- { serverError 36 }
SELECT * FROM remote('[::1][::1]') FORMAT Null; -- { serverError 36 }
SELECT * FROM remote('[::1][::1') FORMAT Null; -- { serverError 36 }
SELECT * FROM remote('[::1]::1]') FORMAT Null; -- { serverError 36 }