Updated test with Date and numbers comparsion.

This commit is contained in:
Nikolai Kochetov 2018-11-28 15:20:16 +03:00
parent 05ac77dbde
commit 3fabaa28eb
2 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,8 @@
SET send_logs_level = 'none';
select today() < 2018-11-14; -- { serverError 43 }
select toDate('2018-01-01') < '2018-11-14';
select toDate('2018-01-01') < '2018-01-01';
select toDate('2018-01-01') == '2018-01-01';
select toDate('2018-01-01') != '2018-01-01';
@ -11,3 +14,4 @@ select toDate('2018-01-01') < 1; -- { serverError 43 }
select toDate('2018-01-01') == 1; -- { serverError 43 }
select toDate('2018-01-01') != 1; -- { serverError 43 }