ClickHouse/tests/queries/0_stateless/01774_ip_address_in_range.reference

47 lines
1.1 KiB
Plaintext

# Invocation with constants
1
0
1
0
# Invocation with non-constant addresses
192.168.99.255 192.168.100.0/22 0
192.168.100.1 192.168.100.0/22 1
192.168.103.255 192.168.100.0/22 1
192.168.104.0 192.168.100.0/22 0
::192.168.99.255 ::192.168.100.0/118 0
::192.168.100.1 ::192.168.100.0/118 1
::192.168.103.255 ::192.168.100.0/118 1
::192.168.104.0 ::192.168.100.0/118 0
# Invocation with non-constant prefixes
192.168.100.1 192.168.100.0/22 1
192.168.100.1 192.168.100.0/24 1
192.168.100.1 192.168.100.0/32 0
::192.168.100.1 ::192.168.100.0/118 1
::192.168.100.1 ::192.168.100.0/120 1
::192.168.100.1 ::192.168.100.0/128 0
# Invocation with non-constants
192.168.100.1 192.168.100.0/22 1
192.168.100.1 192.168.100.0/24 1
192.168.103.255 192.168.100.0/22 1
192.168.103.255 192.168.100.0/24 0
::192.168.100.1 ::192.168.100.0/118 1
::192.168.100.1 ::192.168.100.0/120 1
::192.168.103.255 ::192.168.100.0/118 1
::192.168.103.255 ::192.168.100.0/120 0
# Check with dense table
1
1
1
1
1
1
1
1
# Mismatching IP versions is not an error.
0
0
0
0
# Unparsable arguments
# Wrong argument types