1
0
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:
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,35 @@
#
# Test INSERT DELAYED statement
# Author: Susil, susil.behera@mariadb.com
#
-- source ../include/have_columnstore.inc
--disable_warnings
DROP DATABASE IF EXISTS mcs25_db;
--enable_warnings
CREATE DATABASE mcs25_db;
USE mcs25_db;
CREATE TABLE t_cs(
c1 INT,
c2 INT
)ENGINE=Columnstore;
CREATE TABLE t_myisam(
c1 INT,
c2 INT
)ENGINE=MyISAM;
#DELAYED option not supported on Columnstore
--error 1616
INSERT DELAYED INTO t_cs VALUES (1, 2);
#DELAYED option not supported on MyISAM
INSERT DELAYED INTO t_myisam VALUES (1, 2);
INSERT INTO t_cs SELECT * FROM t_myisam;
SELECT * FROM t_cs;
#Clean up
DROP DATABASE mcs25_db;