mirror of
https://github.com/MariaDB/server.git
synced 2025-04-18 13:15:32 +02:00
MDEV-27891: Make the test work with debug builds
This commit is contained in:
parent
ed20e5b111
commit
af345b72a9
3 changed files with 15 additions and 13 deletions
|
@ -1,7 +1,8 @@
|
|||
|
||||
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;
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
--innodb-buffer-pool-chunk-size=1M
|
||||
--loose-skip-innodb-disable-resize_buffer_pool_debug
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
--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
|
||||
|
|
Loading…
Add table
Reference in a new issue