1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

MCOL-4674 Fix ColumnStore to run MTR tests in a build directory

This commit is contained in:
Alexander Barkov
2021-04-13 11:25:25 +04:00
parent d8b473329f
commit 75e3bbc31e
1874 changed files with 1 additions and 0 deletions

View File

@ -0,0 +1,16 @@
--source include/testdb_only.inc
--source ../include/have_columnstore.inc
--echo #
--echo # MCOL-4614 calShowPartitions() precision loss for huge narrow decimal
--echo #
CREATE FUNCTION calshowpartitions RETURNS STRING SONAME "ha_columnstore.so";
CREATE TABLE t1 (a DECIMAL(17,1)) ENGINE=ColumnStore;
INSERT INTO t1 VALUES (-8999999999999999.9);
SELECT * FROM t1 WHERE a=0;
SELECT calshowpartitions('t1','a');
DROP TABLE IF EXISTS t1;
DROP FUNCTION calshowpartitions;