Commit bd6f6f9f authored by Lena Startseva's avatar Lena Startseva

MDEV-31005: Make working cursor-protocol

Updated tests: cases with bugs or which cannot be run
with the cursor-protocol were excluded with
"--disable_cursor_protocol"/"--enable_cursor_protocol"

Fix for v.11.5
parent 69a3ad27
......@@ -90,10 +90,12 @@ WHERE table_name = '`test`.`ib_bp_test`';
# Load the table so that entries in the I_S table do not appear as NULL
select count(*) from ib_bp_test LIMIT 0;
--disable_cursor_protocol
# Check that async reads are executed during bufferpool load
select variable_value into @innodb_async_reads_total_count_before
from information_schema.global_status
where variable_name='innodb_async_reads_total_count';
--enable_cursor_protocol
# Load
SET GLOBAL innodb_buffer_pool_load_now = ON;
......
......@@ -14,9 +14,11 @@ WHERE variable_name = 'INNODB_BUFFER_POOL_PAGES_DIRTY';
--source include/wait_condition.inc
SET GLOBAL innodb_max_dirty_pages_pct=90.0;
--disable_cursor_protocol
select variable_value into @innodb_async_writes_total_count_before
from information_schema.global_status
where variable_name='innodb_async_writes_total_count';
--enable_cursor_protocol
CREATE TABLE t ENGINE=InnoDB SELECT * FROM seq_1_to_10000;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment