ClickHouse/tests/queries/0_stateless/01700_isIPAddressContainedIn.reference

38 lines
1.0 KiB
Plaintext
Raw Normal View History

# 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
# Mismatching IP versions is not an error.
0
0
0
0
# Unparsable arguments
# Wrong argument types