You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +03:00
MCOL-4674 Fix ColumnStore to run MTR tests in a build directory
This commit is contained in:
27
mysql-test/columnstore/basic/t/mcs120_empty_table.test
Normal file
27
mysql-test/columnstore/basic/t/mcs120_empty_table.test
Normal file
@ -0,0 +1,27 @@
|
||||
#
|
||||
# Test empty table
|
||||
# Author: Bharath, bharath.bokka@mariadb.com
|
||||
#
|
||||
-- source ../include/have_columnstore.inc
|
||||
|
||||
--disable_warnings
|
||||
DROP DATABASE IF EXISTS mcs120_db;
|
||||
--enable_warnings
|
||||
|
||||
CREATE DATABASE mcs120_db;
|
||||
USE mcs120_db;
|
||||
|
||||
CREATE TABLE t1 (x INT)ENGINE=Columnstore;
|
||||
|
||||
SELECT * FROM t1;
|
||||
SELECT COUNT(*) FROM t1;
|
||||
SHOW STATUS LIKE 'Empty_queries';
|
||||
|
||||
SELECT * FROM t1 LIMIT 0;
|
||||
SHOW STATUS LIKE 'Empty_queries';
|
||||
|
||||
DROP TABLE t1;
|
||||
SHOW STATUS LIKE 'Empty_queries';
|
||||
|
||||
# Clean UP
|
||||
DROP DATABASE mcs120_db;
|
Reference in New Issue
Block a user