ClickHouse/tests/queries/0_stateless/01350_intdiv_nontrivial_fpe.sql

6 lines
281 B
MySQL
Raw Normal View History

2020-06-27 22:37:52 +00:00
select intDiv(-9223372036854775808, 255);
select intDiv(-9223372036854775808, 65535);
select intDiv(-9223372036854775808, 4294967295);
select intDiv(-9223372036854775808, 18446744073709551615); -- { serverError 153 }
select intDiv(-9223372036854775808, -1); -- { serverError 153 }