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:
@ -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
|
||||
|
Reference in New Issue
Block a user