summaryrefslogtreecommitdiff
path: root/storage/xtradb/fsp
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2017-06-12 14:26:32 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2017-06-12 14:26:32 +0300
commitfa57479fcd893c290c8f6e8fef5367a5cf2b8c7a (patch)
tree5b6f0f3c3d641e034e5b5882589cbae680b17e64 /storage/xtradb/fsp
parent58c56dd7f8e787c48b6f09a4d03cddd7c922588b (diff)
parent75b35a3b6897a0fcef28d73a480d6d9d65c7ac9b (diff)
downloadmariadb-git-fa57479fcd893c290c8f6e8fef5367a5cf2b8c7a.tar.gz
Merge 10.0 into 10.1
Diffstat (limited to 'storage/xtradb/fsp')
-rw-r--r--storage/xtradb/fsp/fsp0fsp.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/storage/xtradb/fsp/fsp0fsp.cc b/storage/xtradb/fsp/fsp0fsp.cc
index 40a9faa6914..df8c6ffe222 100644
--- a/storage/xtradb/fsp/fsp0fsp.cc
+++ b/storage/xtradb/fsp/fsp0fsp.cc
@@ -2740,7 +2740,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;
@@ -2819,17 +2818,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;
}