- Rename the DBUG_EXECUTE_IF from sys_shrink_buffer_pool_full to

sys_shrink_buffer_pool to make it as generic name.
parent 9b9067fc
......@@ -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 @@ class fsp_xdes_old_page
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);
......
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