mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
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:
@ -1314,6 +1314,9 @@ DROP TABLE t1,t2,t3,t4,t5;
|
||||
--echo # MDEV-7992: Nested left joins + 'not exists' optimization
|
||||
--echo #
|
||||
|
||||
#view protocol gives different query plan (it doesnt' contain database name)
|
||||
--disable_view_protocol
|
||||
|
||||
CREATE TABLE t1(
|
||||
K1 INT PRIMARY KEY,
|
||||
Name VARCHAR(15)
|
||||
@ -1379,6 +1382,8 @@ eval EXPLAIN EXTENDED $q2;
|
||||
DROP VIEW v1;
|
||||
DROP TABLE t1,t2;
|
||||
|
||||
--enable_view_protocol
|
||||
|
||||
set optimizer_search_depth= @tmp_mdev621;
|
||||
|
||||
--echo #
|
||||
|
Reference in New Issue
Block a user