Commit ef76f25d authored by Vasil Dimov's avatar Vasil Dimov

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

parent 633971d4
...@@ -1507,7 +1507,6 @@ btr_search_update_hash_on_delete( ...@@ -1507,7 +1507,6 @@ btr_search_update_hash_on_delete(
rec_t* rec; rec_t* rec;
ulint fold; ulint fold;
index_id_t index_id; index_id_t index_id;
ibool found;
ulint offsets_[REC_OFFS_NORMAL_SIZE]; ulint offsets_[REC_OFFS_NORMAL_SIZE];
mem_heap_t* heap = NULL; mem_heap_t* heap = NULL;
rec_offs_init(offsets_); rec_offs_init(offsets_);
...@@ -1540,7 +1539,7 @@ btr_search_update_hash_on_delete( ...@@ -1540,7 +1539,7 @@ btr_search_update_hash_on_delete(
} }
rw_lock_x_lock(&btr_search_latch); rw_lock_x_lock(&btr_search_latch);
found = ha_search_and_delete_if_found(table, fold, rec); ha_search_and_delete_if_found(table, fold, rec);
rw_lock_x_unlock(&btr_search_latch); rw_lock_x_unlock(&btr_search_latch);
} }
......
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