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:
@ -976,6 +976,7 @@ SET STATEMENT keycache1.key_buffer_size=1024 FOR SELECT 1;
|
||||
#
|
||||
# MDEV-6940: SET STATEMENT executed after SET GLOBAL does not work
|
||||
#
|
||||
--disable_ps2_protocol
|
||||
--disable_view_protocol
|
||||
set @save_general_log=@@global.general_log;
|
||||
--echo # SET STATEMENT works (OK)
|
||||
@ -1038,6 +1039,7 @@ set statement long_query_time=0.01,min_examined_row_limit=50 for select sleep(0.
|
||||
select sql_text from mysql.slow_log where sql_text not like 'set @@long_query_time%';
|
||||
--echo #---
|
||||
--enable_view_protocol
|
||||
--enable_ps2_protocol
|
||||
#
|
||||
# log_slow_verbosity is impossible to check because results are not written
|
||||
# in TABLE mode
|
||||
|
Reference in New Issue
Block a user