You've already forked mariadb-columnstore-engine
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:
16
mysql-test/columnstore/basic/t/udf_calshowpartitions.test
Normal file
16
mysql-test/columnstore/basic/t/udf_calshowpartitions.test
Normal 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;
|
Reference in New Issue
Block a user