ClickHouse/tests/queries/0_stateless/01676_round_int_ubsan.sql

7 lines
315 B
MySQL
Raw Normal View History

2021-01-29 01:03:38 +00:00
-- Overflow during integer rounding is implementation specific behaviour.
-- This test allows to be aware if the impkementation changes.
-- Changing the implementation specific behaviour is Ok.
-- and should not be treat as incompatibility (simply update test result then).
SELECT round(-9223372036854775808, -2);