mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
(btr0cur.c:1957) Bug#55227 Fix compiler warnings in innodb with gcc 4.6
This commit is contained in:
parent
17d6947180
commit
530a8c6f35
1 changed files with 1 additions and 2 deletions
|
@ -1954,7 +1954,6 @@ btr_cur_optimistic_update(
|
|||
page_t* page;
|
||||
page_zip_des_t* page_zip;
|
||||
rec_t* rec;
|
||||
rec_t* orig_rec;
|
||||
ulint max_size;
|
||||
ulint new_rec_size;
|
||||
ulint old_rec_size;
|
||||
|
@ -1968,7 +1967,7 @@ btr_cur_optimistic_update(
|
|||
|
||||
block = btr_cur_get_block(cursor);
|
||||
page = buf_block_get_frame(block);
|
||||
orig_rec = rec = btr_cur_get_rec(cursor);
|
||||
rec = btr_cur_get_rec(cursor);
|
||||
index = cursor->index;
|
||||
ut_ad(!!page_rec_is_comp(rec) == dict_table_is_comp(index->table));
|
||||
ut_ad(mtr_memo_contains(mtr, block, MTR_MEMO_PAGE_X_FIX));
|
||||
|
|
Loading…
Reference in a new issue