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:
@ -233,6 +233,7 @@ SELECT COUNT(*) FROM t3;
|
||||
EXPLAIN SELECT SQL_CALC_FOUND_ROWS * FROM t1 LEFT JOIN t2 ON t1.a=t2.a
|
||||
LEFT JOIN t3 ON t2.b=t3.b;
|
||||
FLUSH STATUS ;
|
||||
--disable_ps2_protocol
|
||||
SELECT SQL_CALC_FOUND_ROWS * FROM t1 LEFT JOIN t2 ON t1.a=t2.a
|
||||
LEFT JOIN t3 ON t2.b=t3.b;
|
||||
|
||||
@ -240,6 +241,7 @@ SELECT SQL_CALC_FOUND_ROWS * FROM t1 LEFT JOIN t2 ON t1.a=t2.a
|
||||
SELECT FOUND_ROWS();
|
||||
SHOW STATUS LIKE "handler_read%";
|
||||
--enable_view_protocol
|
||||
--enable_ps2_protocol
|
||||
|
||||
DROP TABLE t1,t2,t3,t4;
|
||||
# End of 4.1 tests
|
||||
|
Reference in New Issue
Block a user