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:
@ -0,0 +1,22 @@
|
||||
#
|
||||
# Test idbExtentMax() function
|
||||
# Author: Bharath, bharath.bokka@mariadb.com
|
||||
#
|
||||
-- source ../include/have_columnstore.inc
|
||||
|
||||
--disable_warnings
|
||||
DROP DATABASE IF EXISTS mcs212_db;
|
||||
--enable_warnings
|
||||
|
||||
CREATE DATABASE mcs212_db;
|
||||
USE mcs212_db;
|
||||
|
||||
CREATE TABLE t1(col1 INT, col2 INT, col3 CHAR(8)) ENGINE=Columnstore;
|
||||
LOAD DATA LOCAL infile './suite/columnstore/std_data/100Krows.dat' INTO TABLE t1 FIELDS TERMINATED BY '|';
|
||||
SELECT COUNT(*) FROM t1;
|
||||
|
||||
SELECT idbExtentMax(col1) FROM t1 LIMIT 1;
|
||||
SELECT idbExtentMax(col2) FROM t1 LIMIT 1;
|
||||
|
||||
# Clean UP
|
||||
DROP DATABASE mcs212_db;
|
Reference in New Issue
Block a user