MDEV-27691: make working view-protocol

Tests with checking metadata or that cannot be run with
the view-protocol are excluded from --view-protocol.
For tests that do not allow the use of an additional connection,
the util connection is disabled with "--disable_service_connection".
Also cases with bugs for --view-protocol are disabled.
This commit is contained in:
Lena Startseva 2022-06-09 10:32:51 +07:00
commit 72ba96a48e
273 changed files with 1867 additions and 158 deletions

View file

@ -1036,6 +1036,8 @@ drop table t1;
--echo # MDEV-16473: query with CTE when no database is set
--echo #
# Enable view protocol after fix MDEV-27944
--disable_view_protocol
create database db_mdev_16473;
use db_mdev_16473;
drop database db_mdev_16473;
@ -1059,6 +1061,7 @@ select * from cte, db_mdev_16473.t1 as t where cte.a=t.a;
drop database db_mdev_16473;
use test;
--enable_view_protocol
--echo #
--echo # MDEV-17154: using parameter markers for PS within CTEs more than once
@ -1205,6 +1208,8 @@ DROP TABLE test.t;
--echo # MDEV-22781: create view with CTE without default database
--echo #
# Enable view protocol after fix MDEV-27944
--disable_view_protocol
create database db;
use db;
drop database db;
@ -1230,6 +1235,7 @@ drop table db1.t1;
drop database db1;
use test;
--enable_view_protocol
--echo #
--echo # MDEV-24597: CTE with union used multiple times in query