Commit 17d69471 authored by Vasil Dimov's avatar Vasil Dimov

(btr0btr.c:2566) Bug#55227 Fix compiler warnings in innodb with gcc 4.6

parent ab8cec77
...@@ -2563,7 +2563,6 @@ btr_compress( ...@@ -2563,7 +2563,6 @@ btr_compress(
ulint n_recs; ulint n_recs;
ulint max_ins_size; ulint max_ins_size;
ulint max_ins_size_reorg; ulint max_ins_size_reorg;
ulint level;
block = btr_cur_get_block(cursor); block = btr_cur_get_block(cursor);
page = btr_cur_get_page(cursor); page = btr_cur_get_page(cursor);
...@@ -2573,7 +2572,6 @@ btr_compress( ...@@ -2573,7 +2572,6 @@ btr_compress(
ut_ad(mtr_memo_contains(mtr, dict_index_get_lock(index), ut_ad(mtr_memo_contains(mtr, dict_index_get_lock(index),
MTR_MEMO_X_LOCK)); MTR_MEMO_X_LOCK));
ut_ad(mtr_memo_contains(mtr, block, MTR_MEMO_PAGE_X_FIX)); ut_ad(mtr_memo_contains(mtr, block, MTR_MEMO_PAGE_X_FIX));
level = btr_page_get_level(page, mtr);
space = dict_index_get_space(index); space = dict_index_get_space(index);
zip_size = dict_table_zip_size(index->table); zip_size = dict_table_zip_size(index->table);
......
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