mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +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:
@@ -23,6 +23,8 @@
|
||||
set GLOBAL query_cache_type=ON;
|
||||
set LOCAL query_cache_type=ON;
|
||||
|
||||
--disable_ps2_protocol
|
||||
|
||||
connect (con1,localhost,root,,test,$MASTER_MYPORT,);
|
||||
connection default;
|
||||
|
||||
@@ -252,6 +254,7 @@ set @a=10;
|
||||
execute stmt1 using @a;
|
||||
show status like 'Qcache_hits';
|
||||
|
||||
--enable_ps2_protocol
|
||||
|
||||
drop table t1;
|
||||
disconnect con1;
|
||||
|
Reference in New Issue
Block a user