mirror of
https://github.com/MariaDB/server.git
synced 2026-05-06 23:25:34 +02:00
(partially) Fix Bug#55227 Fix compiler warnings in innodb with gcc 4.6
Fix compiler warning: btr/btr0cur.c: In function 'btr_free_externally_stored_field': btr/btr0cur.c:4281:16: error: variable 'rec_block' set but not used [-Werror=unused-but-set-variable]
This commit is contained in:
parent
57e860c6a1
commit
07cded6187
1 changed files with 6 additions and 1 deletions
|
|
@ -4278,12 +4278,17 @@ btr_free_externally_stored_field(
|
|||
}
|
||||
|
||||
for (;;) {
|
||||
#ifdef UNIV_SYNC_DEBUG
|
||||
buf_block_t* rec_block;
|
||||
#endif /* UNIV_SYNC_DEBUG */
|
||||
buf_block_t* ext_block;
|
||||
|
||||
mtr_start(&mtr);
|
||||
|
||||
rec_block = buf_page_get(page_get_space_id(
|
||||
#ifdef UNIV_SYNC_DEBUG
|
||||
rec_block =
|
||||
#endif /* UNIV_SYNC_DEBUG */
|
||||
buf_page_get(page_get_space_id(
|
||||
page_align(field_ref)),
|
||||
rec_zip_size,
|
||||
page_get_page_no(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue