mirror of
https://github.com/MariaDB/server.git
synced 2026-05-03 13:45:34 +02:00
(partially) Fix Bug#55227 Fix compiler warnings in innodb with gcc 4.6
Fix compiler warning: trx/trx0trx.c: In function 'trx_prepare_off_kernel': trx/trx0trx.c:1830:11: error: variable 'update_hdr_page' set but not used [-Werror=unused-but-set-variable]
This commit is contained in:
parent
9d74ab6033
commit
e3de88c3f8
1 changed files with 1 additions and 2 deletions
|
|
@ -1827,7 +1827,6 @@ trx_prepare_off_kernel(
|
|||
/*===================*/
|
||||
trx_t* trx) /* in: transaction */
|
||||
{
|
||||
page_t* update_hdr_page;
|
||||
trx_rseg_t* rseg;
|
||||
ibool must_flush_log = FALSE;
|
||||
dulint lsn;
|
||||
|
|
@ -1863,7 +1862,7 @@ trx_prepare_off_kernel(
|
|||
}
|
||||
|
||||
if (trx->update_undo) {
|
||||
update_hdr_page = trx_undo_set_state_at_prepare(
|
||||
trx_undo_set_state_at_prepare(
|
||||
trx, trx->update_undo, &mtr);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue