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

Update mcs2_create_table_valid_names.test

This commit is contained in:
mariadb-KirillPerov
2022-10-01 05:21:21 +06:00
committed by KirillPerov
parent 70004e663b
commit ae54529d38

View File

@ -13,24 +13,32 @@ USE mcs2_db;
# Table name with numbers
CREATE TABLE 1234table(col1 INT)ENGINE=Columnstore;
--replace_regex /( COLLATE=latin1_swedish_ci)//
SHOW CREATE TABLE 1234table;
CREATE TABLE table5678(col1 INT)ENGINE=Columnstore;
--replace_regex /( COLLATE=latin1_swedish_ci)//
SHOW CREATE TABLE table5678;
CREATE TABLE 1234table5678(col1 INT)ENGINE=Columnstore;
--replace_regex /( COLLATE=latin1_swedish_ci)//
SHOW CREATE TABLE 1234table5678;
CREATE TABLE tab09le(col1 INT)ENGINE=Columnstore;
--replace_regex /( COLLATE=latin1_swedish_ci)//
SHOW CREATE TABLE tab09le;
CREATE TABLE `table_`(col1 INT)ENGINE=Columnstore;
--replace_regex /( COLLATE=latin1_swedish_ci)//
SHOW CREATE TABLE `table_`;
CREATE TABLE `table_13579`(col1 INT)ENGINE=Columnstore;
--replace_regex /( COLLATE=latin1_swedish_ci)//
SHOW CREATE TABLE `table_13579`;
# Table name with max length i.e, 64
CREATE TABLE abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijkl(col1 INT)ENGINE=Columnstore;
--replace_regex /( COLLATE=latin1_swedish_ci)//
SHOW CREATE TABLE abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijkl;
# MCOL-4110: ColumnStore cannot handle case sensitive database and table name
CREATE TABLE abcdefghijklmnopqrstuvwxyz(col1 INT)ENGINE=Columnstore;
--replace_regex /( COLLATE=latin1_swedish_ci)//
SHOW CREATE TABLE abcdefghijklmnopqrstuvwxyz;
DROP DATABASE mcs2_db;