mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
MDEV-31003: Second execution for ps-protocol
This patch adds for "--ps-protocol" second execution of queries "SELECT". Also in this patch it is added ability to disable/enable (--disable_ps2_protocol/--enable_ps2_protocol) second execution for "--ps-prototocol" in testcases.
This commit is contained in:
@ -21,6 +21,7 @@ create view v2 as select * from t1 where t1.a=1 group by t1.b;
|
||||
set optimizer_trace="enabled=on";
|
||||
|
||||
--echo # Mergeable views/derived tables
|
||||
--disable_ps2_protocol
|
||||
--disable_view_protocol
|
||||
select * from v1;
|
||||
select * from information_schema.OPTIMIZER_TRACE;
|
||||
@ -31,6 +32,7 @@ select * from information_schema.OPTIMIZER_TRACE;
|
||||
select * from v2;
|
||||
select * from information_schema.OPTIMIZER_TRACE;
|
||||
--enable_view_protocol
|
||||
--enable_ps2_protocol
|
||||
drop table t1,t2;
|
||||
drop view v1,v2;
|
||||
drop function f1;
|
||||
|
Reference in New Issue
Block a user