1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

Update mcs8_create_table_with_constraints.test

This commit is contained in:
mariadb-KirillPerov
2022-10-02 01:48:52 +06:00
committed by KirillPerov
parent 583c4ba170
commit 246fa5bb79

View File

@ -11,13 +11,16 @@ CREATE DATABASE mcs8_db;
USE mcs8_db;
CREATE TABLE t1(col1 SMALLINT DEFAULT 10)ENGINE=Columnstore;
--replace_regex /( COLLATE=latin1_swedish_ci)//
SHOW CREATE TABLE t1;
CREATE TABLE t2(col1 TINYINT NOT NULL)ENGINE=Columnstore;
--replace_regex /( COLLATE=latin1_swedish_ci)//
SHOW CREATE TABLE t2;
# Indexes and Keys aren't supported in MCS
--error 1064
CREATE INDEX on t2(col1);
CREATE TABLE t3(col1 INT, CHECK (col1>=10))ENGINE=Columnstore;
--replace_regex /( COLLATE=latin1_swedish_ci)//
SHOW CREATE TABLE t3;
--error 1069
CREATE TABLE t4(col1 INT PRIMARY KEY AUTO_INCREMENT)ENGINE=Columnstore;