Commit c3757359 authored by Vasil Dimov's avatar Vasil Dimov

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

parent aad14199
...@@ -603,7 +603,6 @@ btr_page_get_father_node_ptr_func( ...@@ -603,7 +603,6 @@ btr_page_get_father_node_ptr_func(
ulint line, /*!< in: line where called */ ulint line, /*!< in: line where called */
mtr_t* mtr) /*!< in: mtr */ mtr_t* mtr) /*!< in: mtr */
{ {
page_t* page;
dtuple_t* tuple; dtuple_t* tuple;
rec_t* user_rec; rec_t* user_rec;
rec_t* node_ptr; rec_t* node_ptr;
...@@ -621,7 +620,6 @@ btr_page_get_father_node_ptr_func( ...@@ -621,7 +620,6 @@ btr_page_get_father_node_ptr_func(
level = btr_page_get_level(btr_cur_get_page(cursor), mtr); level = btr_page_get_level(btr_cur_get_page(cursor), mtr);
page = btr_cur_get_page(cursor);
user_rec = btr_cur_get_rec(cursor); user_rec = btr_cur_get_rec(cursor);
ut_a(page_rec_is_user_rec(user_rec)); ut_a(page_rec_is_user_rec(user_rec));
tuple = dict_index_build_node_ptr(index, user_rec, 0, heap, level); tuple = dict_index_build_node_ptr(index, user_rec, 0, heap, level);
......
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