Commit 84ce6819 authored by Jan Lindström's avatar Jan Lindström

MDEV-10917: Warning suggesting that innodb_page_size is experimental may be inaccurate

Removed experimental from message.
parent 885577fb
...@@ -3444,15 +3444,16 @@ innobase_init( ...@@ -3444,15 +3444,16 @@ innobase_init(
} }
if (UNIV_PAGE_SIZE != UNIV_PAGE_SIZE_DEF) { if (UNIV_PAGE_SIZE != UNIV_PAGE_SIZE_DEF) {
fprintf(stderr, ib_logf(IB_LOG_LEVEL_INFO,
"InnoDB: Warning: innodb_page_size has been " "innodb_page_size has been "
"changed from default value %d to %ldd. (###EXPERIMENTAL### " "changed from default value %d to %ldd.",
"operation)\n", UNIV_PAGE_SIZE_DEF, UNIV_PAGE_SIZE); UNIV_PAGE_SIZE_DEF, UNIV_PAGE_SIZE);
/* There is hang on buffer pool when trying to get a new /* There is hang on buffer pool when trying to get a new
page if buffer pool size is too small for large page sizes */ page if buffer pool size is too small for large page sizes */
if (innobase_buffer_pool_size < (24 * 1024 * 1024)) { if (innobase_buffer_pool_size < (24 * 1024 * 1024)) {
fprintf(stderr, "InnoDB: Error: innobase_page_size %lu requires " ib_logf(IB_LOG_LEVEL_INFO,
"innobase_page_size %lu requires "
"innodb_buffer_pool_size > 24M current %lld", "innodb_buffer_pool_size > 24M current %lld",
UNIV_PAGE_SIZE, innobase_buffer_pool_size); UNIV_PAGE_SIZE, innobase_buffer_pool_size);
goto error; goto error;
......
...@@ -3859,17 +3859,19 @@ innobase_init( ...@@ -3859,17 +3859,19 @@ innobase_init(
} }
if (UNIV_PAGE_SIZE != UNIV_PAGE_SIZE_DEF) { if (UNIV_PAGE_SIZE != UNIV_PAGE_SIZE_DEF) {
fprintf(stderr, ib_logf(IB_LOG_LEVEL_INFO,
"InnoDB: Warning: innodb_page_size has been " "innodb_page_size has been "
"changed from default value %d to %ldd. (###EXPERIMENTAL### " "changed from default value %d to %ldd.",
"operation)\n", UNIV_PAGE_SIZE_DEF, UNIV_PAGE_SIZE); UNIV_PAGE_SIZE_DEF, UNIV_PAGE_SIZE);
/* There is hang on buffer pool when trying to get a new /* There is hang on buffer pool when trying to get a new
page if buffer pool size is too small for large page sizes */ page if buffer pool size is too small for large page sizes */
if (innobase_buffer_pool_size < (24 * 1024 * 1024)) { if (innobase_buffer_pool_size < (24 * 1024 * 1024)) {
fprintf(stderr, "InnoDB: Error: innobase_page_size %lu requires " ib_logf(IB_LOG_LEVEL_INFO,
"innobase_page_size %lu requires "
"innodb_buffer_pool_size > 24M current %lld", "innodb_buffer_pool_size > 24M current %lld",
UNIV_PAGE_SIZE, innobase_buffer_pool_size); UNIV_PAGE_SIZE, innobase_buffer_pool_size);
goto error; goto error;
} }
} }
......
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