ClickHouse/tests/queries/0_stateless/01888_read_int_safe.sql

11 lines
403 B
MySQL
Raw Normal View History

2021-05-25 02:29:47 +00:00
select toInt64('--1'); -- { serverError 72; }
select toInt64('+-1'); -- { serverError 72; }
select toInt64('++1'); -- { serverError 72; }
select toInt64('++'); -- { serverError 72; }
select toInt64('+'); -- { serverError 72; }
2021-10-13 00:14:44 +00:00
select toInt64('1+1'); -- { serverError 6; }
select toInt64('1-1'); -- { serverError 6; }
2021-05-25 02:29:47 +00:00
select toInt64(''); -- { serverError 32; }
select toInt64('1');
select toInt64('-1');