1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-04-21 19:45:56 +03:00
mariadb-KirillPerov 85a6121f76
Mtrfix kp 220926 (#2580)
* Update mcol_2000.test

* Update mcs117_create_utf8.test

* Update mcs12_alter_table.test

* Update mcs13_alter_table_negative.test

* Update mcs169_bin_functions.test

* Update mcs171_null_functions.test

* Update mcs173_coalesce_function.test

* Update mcs174_case_function.test

* Update mcs175_convert_functions.test

* Update mcs176_if_function.test

* Update mcs178_adddate_function.test

* Update mcs179_addtime_function.test

* Update mcs180_ascii_function.test

* Update mcs181_between_and.test

* Update mcs182_char_length_function.test

* Update mcs183_date_function.test

* Update mcs184_day_function.test

* Update mcs185_dayname_function.test

* Update mcs186_dayofyear_function.test

* Update mcs187_dayofmonth_function.test

* Update mcs1_create_table_data_types.test

* Update mcs19_grant_revoke.test

* Update mcs229_data_compression_type.test

* Update mcs28_load_data_local_infile.test

* Update mcs2_create_table_valid_names.test

* Update mcs5_create_table_from_other_tables.test

* Update mcs74_check_constraint.test

* Update mcs7_create_table_with_metadata.test

* Update mcs87_alter_column.test

* Update mcs8_create_table_with_constraints.test

* Update disabled.def

* Update mcs19_grant_revoke.test

* Update mcs19_grant_revoke.test

* Update mcs19_grant_revoke.test
2022-10-07 11:36:29 +03:00

44 lines
1.6 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#
# Test UTF8 names
# Author: Bharath, bharath.bokka@mariadb.com
#
-- source ../include/have_columnstore.inc
set names utf8;
--disable_warnings
DROP DATABASE IF EXISTS mcs117_db;
--enable_warnings
CREATE DATABASE имя_базы_в_кодировке_утф8_длиной_большеем_45;
USE имя_базы_в_кодировке_утф8_длиной_большеем_45;
SELECT DATABASE();
CREATE DATABASE mcs117_db;
USE mcs117_db;
SELECT SCHEMA_NAME FROM INFORMATION_SCHEMA.schemata
WHERE schema_name='имя_базы_в_кодировке_утф8_длиной_большеем_45';
DROP DATABASE имя_базы_в_кодировке_утф8_длиной_большеем_45;
CREATE TABLE имя_таблицы_в_кодировке_утф8_длиной_большеем_48
(
имя_поля_в_кодировке_утф8_длиной_большеем_45 INT
)ENGINE=Columnstore;
--replace_regex /( COLLATE=latin1_swedish_ci)//
SHOW CREATE TABLE имя_таблицы_в_кодировке_утф8_длиной_большеем_48;
CREATE VIEW имя_вью_кодировке_утф8_длиной_большеем_42 AS SELECT * FROM имя_таблицы_в_кодировке_утф8_длиной_большеем_48;
SHOW CREATE VIEW имя_вью_кодировке_утф8_длиной_большеем_42;
select TABLE_NAME from information_schema.tables where table_schema='mcs117_db' order by 1;
select COLUMN_NAME from information_schema.columns where table_schema='mcs117_db' order by 1;
select TABLE_NAME from information_schema.views where table_schema='mcs117_db' order by 1;
# Clean UP
DROP DATABASE mcs117_db;