1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +03:00

Dlee 22.08.2 updates (#2578)

* Sort test result so the test case would pass

* Server message has been changes

* Added schema name in query for rows in test case only.  Also use lower case schema name

* Changed database to lower case

* Run test case in its own database to avoid table already exists error

Co-authored-by: root <root@rocky8.localdomain>
This commit is contained in:
Daniel Lee
2022-10-05 16:56:57 -05:00
committed by GitHub
parent f6aa95857c
commit 2606c91afd
13 changed files with 145 additions and 106 deletions

View File

@ -2,6 +2,9 @@
# MCOL-4668 PERIOD_DIFF(dec_or_double1,dec_or_double2) is not as in InnoDB
#
# Narrow decimal rounding
DROP DATABASE IF EXISTS period_diff_db;
CREATE DATABASE period_diff_db;
USE period_diff_db;
CREATE TABLE t1 (a DECIMAL(18,1));
INSERT INTO t1 VALUES (200101.9);
SELECT PERIOD_DIFF(a, 200101) FROM t1;
@ -38,3 +41,4 @@ a PERIOD_DIFF(200101,a)
9.223372036854775e18 24012
9.223372036854776e18 24012
DROP TABLE t1;
DROP DATABASE period_diff_db;