diff options
author | Jan Lindström <jan.lindstrom@mariadb.com> | 2017-06-08 10:34:10 +0300 |
---|---|---|
committer | Jan Lindström <jan.lindstrom@mariadb.com> | 2017-06-08 10:34:10 +0300 |
commit | d03abc71a490f4ee6d173d07c95a2adb9c60457c (patch) | |
tree | 73df3e6681ed3db601b3bd9d58ca2a8ce52a51e6 | |
parent | d8d39721dfef6b965d782e6099493c36150585cf (diff) | |
download | mariadb-git-d03abc71a490f4ee6d173d07c95a2adb9c60457c.tar.gz |
MDEV-12609: Allow suppression of InnoDB log messages about reserving extents
Removed this output.
-rw-r--r-- | storage/innobase/fsp/fsp0fsp.cc | 11 | ||||
-rw-r--r-- | storage/xtradb/fsp/fsp0fsp.cc | 11 |
2 files changed, 0 insertions, 22 deletions
diff --git a/storage/innobase/fsp/fsp0fsp.cc b/storage/innobase/fsp/fsp0fsp.cc index 1732a02aeac..d04cd7168ed 100644 --- a/storage/innobase/fsp/fsp0fsp.cc +++ b/storage/innobase/fsp/fsp0fsp.cc @@ -2729,7 +2729,6 @@ fsp_reserve_free_extents( ibool success; ulint n_pages_added; size_t total_reserved = 0; - ulint rounds = 0; ut_ad(mtr); *n_reserved = n_ext; @@ -2809,17 +2808,7 @@ try_to_extend: space_header, mtr); if (success && n_pages_added > 0) { - - rounds++; total_reserved += n_pages_added; - - if (rounds > 50) { - ib_logf(IB_LOG_LEVEL_INFO, - "Space id %lu trying to reserve %lu extents actually reserved %lu " - " reserve %lu free %lu size %lu rounds %lu total_reserved %llu", - space, n_ext, n_pages_added, reserve, n_free, size, rounds, (ullint) total_reserved); - } - goto try_again; } diff --git a/storage/xtradb/fsp/fsp0fsp.cc b/storage/xtradb/fsp/fsp0fsp.cc index 9292f84ab02..cf6fa4211ca 100644 --- a/storage/xtradb/fsp/fsp0fsp.cc +++ b/storage/xtradb/fsp/fsp0fsp.cc @@ -2738,7 +2738,6 @@ fsp_reserve_free_extents( ibool success; ulint n_pages_added; size_t total_reserved = 0; - ulint rounds = 0; ut_ad(mtr); *n_reserved = n_ext; @@ -2817,17 +2816,7 @@ try_to_extend: success = fsp_try_extend_data_file(&n_pages_added, space, space_header, mtr); if (success && n_pages_added > 0) { - - rounds++; total_reserved += n_pages_added; - - if (rounds > 50) { - ib_logf(IB_LOG_LEVEL_INFO, - "Space id %lu trying to reserve %lu extents actually reserved %lu " - " reserve %lu free %lu size %lu rounds %lu total_reserved %llu", - space, n_ext, n_pages_added, reserve, n_free, size, rounds, (ullint) total_reserved); - } - goto try_again; } |