mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
- Rename the DBUG_EXECUTE_IF from sys_shrink_buffer_pool_full to
sys_shrink_buffer_pool to make it as generic name.
This commit is contained in:
@ -19,7 +19,7 @@ InnoDB 0 transactions not purged
|
||||
SELECT NAME, FILE_SIZE FROM INFORMATION_SCHEMA.INNODB_SYS_TABLESPACES WHERE SPACE = 0;
|
||||
NAME FILE_SIZE
|
||||
innodb_system 540016640
|
||||
# restart: --debug_dbug=+d,sys_shrink_buffer_pool_full
|
||||
# restart: --debug_dbug=+d,shrink_buffer_pool_full
|
||||
FOUND 1 /\[Warning\] InnoDB: Cannot shrink the system tablespace/ in mysqld.1.err
|
||||
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
||||
WHERE engine = 'innodb'
|
||||
|
@ -24,7 +24,7 @@ DROP TABLE t1;
|
||||
SELECT NAME, FILE_SIZE FROM INFORMATION_SCHEMA.INNODB_SYS_TABLESPACES WHERE SPACE = 0;
|
||||
|
||||
# Ran out of buffer pool
|
||||
let $restart_parameters=--debug_dbug="+d,sys_shrink_buffer_pool_full";
|
||||
let $restart_parameters=--debug_dbug="+d,shrink_buffer_pool_full";
|
||||
--source include/restart_mysqld.inc
|
||||
|
||||
--let SEARCH_PATTERN= \[Warning\] InnoDB: Cannot shrink the system tablespace
|
||||
|
@ -3109,7 +3109,7 @@ public:
|
||||
m_old_xdes_pages[m_index] != nullptr)
|
||||
return DB_SUCCESS;
|
||||
|
||||
DBUG_EXECUTE_IF("sys_shrink_buffer_pool_full",
|
||||
DBUG_EXECUTE_IF("shrink_buffer_pool_full",
|
||||
return DB_OUT_OF_MEMORY;);
|
||||
dberr_t err= DB_SUCCESS;
|
||||
buf_block_t *block= fsp_get_latched_xdes_page(page_no, mtr, &err);
|
||||
|
Reference in New Issue
Block a user