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:
35
mysql-test/columnstore/basic/t/mcs25_insert_delayed.test
Normal file
35
mysql-test/columnstore/basic/t/mcs25_insert_delayed.test
Normal 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;
|
Reference in New Issue
Block a user