[Commits] bc54342: MDEV-10917: Warning suggesting that innodb_page_size is experimental may be inaccurate

Jan Lindström jan.lindstrom at mariadb.com
Thu Oct 27 15:01:56 EEST 2016


revision-id: bc5434286bf3c429bdd2520b702ba60ace658243 (mariadb-10.1.18-18-gbc54342)
parent(s): 2847e948cfc3786fe11494b2f7cc72dfd1841ee4
author: Jan Lindström
committer: Jan Lindström
timestamp: 2016-10-27 15:01:15 +0300
message:

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

Removed experimental from message.

---
 storage/innobase/handler/ha_innodb.cc | 11 ++++++-----
 storage/xtradb/handler/ha_innodb.cc   | 12 +++++++-----
 2 files changed, 13 insertions(+), 10 deletions(-)

diff --git a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc
index d790bf4..79d8ae0 100644
--- a/storage/innobase/handler/ha_innodb.cc
+++ b/storage/innobase/handler/ha_innodb.cc
@@ -3444,15 +3444,16 @@ innobase_init(
 	}
 
 	if (UNIV_PAGE_SIZE != UNIV_PAGE_SIZE_DEF) {
-		fprintf(stderr,
-			"InnoDB: Warning: innodb_page_size has been "
-			"changed from default value %d to %ldd. (###EXPERIMENTAL### "
-			"operation)\n", UNIV_PAGE_SIZE_DEF, UNIV_PAGE_SIZE);
+		ib_logf(IB_LOG_LEVEL_INFO,
+			"innodb_page_size has been "
+			"changed from default value %d to %ldd.",
+			UNIV_PAGE_SIZE_DEF, UNIV_PAGE_SIZE);
 
 		/* There is hang on buffer pool when trying to get a new
 		page if buffer pool size is too small for large page sizes */
 		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",
 				UNIV_PAGE_SIZE, innobase_buffer_pool_size);
 			goto error;
diff --git a/storage/xtradb/handler/ha_innodb.cc b/storage/xtradb/handler/ha_innodb.cc
index bd76d52..0223e58 100644
--- a/storage/xtradb/handler/ha_innodb.cc
+++ b/storage/xtradb/handler/ha_innodb.cc
@@ -3859,17 +3859,19 @@ innobase_init(
 	}
 
 	if (UNIV_PAGE_SIZE != UNIV_PAGE_SIZE_DEF) {
-		fprintf(stderr,
-			"InnoDB: Warning: innodb_page_size has been "
-			"changed from default value %d to %ldd. (###EXPERIMENTAL### "
-			"operation)\n", UNIV_PAGE_SIZE_DEF, UNIV_PAGE_SIZE);
+		ib_logf(IB_LOG_LEVEL_INFO,
+			"innodb_page_size has been "
+			"changed from default value %d to %ldd.",
+			UNIV_PAGE_SIZE_DEF, UNIV_PAGE_SIZE);
 
 		/* There is hang on buffer pool when trying to get a new
 		page if buffer pool size is too small for large page sizes */
 		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",
 				UNIV_PAGE_SIZE, innobase_buffer_pool_size);
+
 			goto error;
 		}
 	}


More information about the commits mailing list