mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
(btr0sea.c:1510) Bug#55227 Fix compiler warnings in innodb with gcc 4.6
This commit is contained in:
parent
633971d464
commit
ef76f25d26
1 changed files with 1 additions and 2 deletions
|
@ -1507,7 +1507,6 @@ btr_search_update_hash_on_delete(
|
|||
rec_t* rec;
|
||||
ulint fold;
|
||||
index_id_t index_id;
|
||||
ibool found;
|
||||
ulint offsets_[REC_OFFS_NORMAL_SIZE];
|
||||
mem_heap_t* heap = NULL;
|
||||
rec_offs_init(offsets_);
|
||||
|
@ -1540,7 +1539,7 @@ btr_search_update_hash_on_delete(
|
|||
}
|
||||
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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue