Commit af345b72 authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-27891: Make the test work with debug builds

parent ed20e5b1
MDEV-27891: Delayed SIGSEGV in InnoDB buffer pool resize
after or during DROP TABLE
SET @save_size=@@innodb_buffer_pool_size;
#
# MDEV-27891: Delayed SIGSEGV in InnoDB buffer pool resize
# after or during DROP TABLE
#
select @@innodb_buffer_pool_chunk_size;
@@innodb_buffer_pool_chunk_size
1048576
......@@ -9,5 +10,5 @@ CREATE TABLE t1 (a INT PRIMARY KEY) ENGINE=InnoDB;
SET GLOBAL innodb_buffer_pool_size=256*1024*1024;
DROP TABLE t1;
SET GLOBAL innodb_buffer_pool_size=@@innodb_buffer_pool_size + @@innodb_buffer_pool_chunk_size;
# end of 10.6 test
set global innodb_buffer_pool_size = 8388608;;
# End of 10.6 tests
SET GLOBAL innodb_buffer_pool_size=@save_size;
--innodb-buffer-pool-chunk-size=1M
--loose-skip-innodb-disable-resize_buffer_pool_debug
--source include/have_innodb.inc
--source include/big_test.inc
--let $save_size= `SELECT @@GLOBAL.innodb_buffer_pool_size`
SET @save_size=@@innodb_buffer_pool_size;
let $wait_timeout = 60;
let $wait_condition =
......@@ -9,10 +9,10 @@ let $wait_condition =
FROM information_schema.global_status
WHERE variable_name = 'INNODB_BUFFER_POOL_RESIZE_STATUS';
--echo
--echo MDEV-27891: Delayed SIGSEGV in InnoDB buffer pool resize
--echo after or during DROP TABLE
--echo
--echo #
--echo # MDEV-27891: Delayed SIGSEGV in InnoDB buffer pool resize
--echo # after or during DROP TABLE
--echo #
select @@innodb_buffer_pool_chunk_size;
CREATE TABLE t1 (a INT PRIMARY KEY) ENGINE=InnoDB;
......@@ -22,7 +22,7 @@ DROP TABLE t1;
SET GLOBAL innodb_buffer_pool_size=@@innodb_buffer_pool_size + @@innodb_buffer_pool_chunk_size;
--source include/wait_condition.inc
--echo # end of 10.6 test
--echo # End of 10.6 tests
--eval set global innodb_buffer_pool_size = $save_size;
SET GLOBAL innodb_buffer_pool_size=@save_size;
--source include/wait_condition.inc
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