Skip to content

Commit 8c6d9b9

Browse files
AestheticAkhmaddrrtuy
authored andcommitted
Added additional testcase
1 parent 8ed8057 commit 8c6d9b9

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

mysql-test/columnstore/bugfixes/mcol_4628.result

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,16 @@ i
6262
-761
6363
761
6464
762
65+
DROP TABLE IF EXISTS t1;
66+
CREATE TABLE t1 (i SMALLINT) ENGINE=ColumnStore;
67+
INSERT INTO t1 VALUES (-762);
68+
INSERT INTO t1 VALUES (-761);
69+
INSERT INTO t1 VALUES (761);
70+
INSERT INTO t1 VALUES (762);
71+
SELECT * FROM t1 WHERE i > -762.2;
72+
i
73+
-762
74+
-761
75+
761
76+
762
6577
DROP DATABASE mcol_4628;

mysql-test/columnstore/bugfixes/mcol_4628.test

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,16 @@ INSERT INTO t1 VALUES (761);
7171
INSERT INTO t1 VALUES (762);
7272
SELECT * FROM t1 WHERE i > -762.5;
7373

74+
--disable_warnings
75+
DROP TABLE IF EXISTS t1;
76+
--enable_warnings
77+
CREATE TABLE t1 (i SMALLINT) ENGINE=ColumnStore;
78+
INSERT INTO t1 VALUES (-762);
79+
INSERT INTO t1 VALUES (-761);
80+
INSERT INTO t1 VALUES (761);
81+
INSERT INTO t1 VALUES (762);
82+
SELECT * FROM t1 WHERE i > -762.2;
83+
7484
--disable_warnings
7585
DROP DATABASE mcol_4628;
7686
--enable_warnings

0 commit comments

Comments
 (0)