mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 18:12:02 +00:00
7da4083237
This will fix the following UB report [1]: "../src/Functions/bitAnd.cpp:24:61: runtime error: nan is outside the range of representable values of type 'long' Received signal -3 Received signal Unknown signal (-3)" [1]: https://clickhouse-test-reports.s3.yandex.net/19824/89c4055202b9d08459f90ee5791d4e3017b82fbf/fuzzer_ubsan/report.html#fail1
10 lines
434 B
SQL
10 lines
434 B
SQL
SELECT bitAnd(0, inf); -- { serverError 43 }
|
|
SELECT bitXor(0, inf); -- { serverError 43 }
|
|
SELECT bitOr(0, inf); -- { serverError 43 }
|
|
SELECT bitTest(inf, 0); -- { serverError 43 }
|
|
SELECT bitTest(0, inf); -- { serverError 43 }
|
|
SELECT bitRotateLeft(inf, 0); -- { serverError 43 }
|
|
SELECT bitRotateRight(inf, 0); -- { serverError 43 }
|
|
SELECT bitShiftLeft(inf, 0); -- { serverError 43 }
|
|
SELECT bitShiftRight(inf, 0); -- { serverError 43 }
|