From 7655a7bf3af75a9c1235f2283abf30b3905917f6 Mon Sep 17 00:00:00 2001 From: Alexey Zatelepin Date: Wed, 24 May 2017 23:10:19 +0300 Subject: [PATCH] add tests [#CLICKHOUSE-3002] --- ...rison.reference => 00345_index_accurate_comparison.reference} | 1 + ...signed_comparison.sql => 00345_index_accurate_comparison.sql} | 1 + 2 files changed, 2 insertions(+) rename dbms/tests/queries/0_stateless/{00345_index_signed_unsigned_comparison.reference => 00345_index_accurate_comparison.reference} (79%) rename dbms/tests/queries/0_stateless/{00345_index_signed_unsigned_comparison.sql => 00345_index_accurate_comparison.sql} (91%) diff --git a/dbms/tests/queries/0_stateless/00345_index_signed_unsigned_comparison.reference b/dbms/tests/queries/0_stateless/00345_index_accurate_comparison.reference similarity index 79% rename from dbms/tests/queries/0_stateless/00345_index_signed_unsigned_comparison.reference rename to dbms/tests/queries/0_stateless/00345_index_accurate_comparison.reference index 18fe37021df..817791ffa4a 100644 --- a/dbms/tests/queries/0_stateless/00345_index_signed_unsigned_comparison.reference +++ b/dbms/tests/queries/0_stateless/00345_index_accurate_comparison.reference @@ -2,3 +2,4 @@ -1 -1 2016-07-07 1 1 2016-07-07 -1 -1 2016-07-07 +-1 -1 2016-07-07 diff --git a/dbms/tests/queries/0_stateless/00345_index_signed_unsigned_comparison.sql b/dbms/tests/queries/0_stateless/00345_index_accurate_comparison.sql similarity index 91% rename from dbms/tests/queries/0_stateless/00345_index_signed_unsigned_comparison.sql rename to dbms/tests/queries/0_stateless/00345_index_accurate_comparison.sql index 6520de33b6e..b1920663010 100644 --- a/dbms/tests/queries/0_stateless/00345_index_signed_unsigned_comparison.sql +++ b/dbms/tests/queries/0_stateless/00345_index_accurate_comparison.sql @@ -15,5 +15,6 @@ select * from test.index where key = -1; OPTIMIZE TABLE test.index; select * from test.index where key = 1; select * from test.index where key = -1; +select * from test.index where key < -0.5; DROP TABLE test.index;