1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-27691: make working view-protocol

Update tests for version 10.4
This commit is contained in:
Lena Startseva
2022-09-15 18:30:13 +07:00
parent 78dcf71e88
commit 184e65954b
36 changed files with 148 additions and 23 deletions

View File

@ -1,6 +1,7 @@
#
# Bug#21432 Database/Table name limited to 64 bytes, not chars, problems with multi-byte
#
--disable_service_connection
set names utf8;
create database имя_базы_в_кодировке_утф8_длиной_большеем_45;
@ -25,6 +26,7 @@ from имя_таблицы_в_кодировке_утф8_длиной_больш
# database, table, field, key, view
select * from имя_таблицы_в_кодировке_утф8_длиной_большеем_48;
--disable_view_protocol
--sorted_result
select TABLE_NAME from information_schema.tables where
table_schema='test';
@ -37,6 +39,7 @@ table_schema='test';
select TABLE_NAME from information_schema.views where
table_schema='test';
--enable_view_protocol
show create table имя_таблицы_в_кодировке_утф8_длиной_большеем_48;
show create view имя_вью_кодировке_утф8_длиной_большеем_42;
@ -78,3 +81,4 @@ return 0;
drop view имя_вью_кодировке_утф8_длиной_большеем_42;
drop table имя_таблицы_в_кодировке_утф8_длиной_большеем_48;
set names default;
--enable_service_connection