mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
(partially) Fix Bug#55227 Fix compiler warnings in innodb with gcc 4.6
Fix compiler warning: trx/trx0undo.c: In function 'trx_undo_truncate_end': trx/trx0undo.c:1069:14: error: variable 'rseg' set but not used [-Werror=unused-but-set-variable]
This commit is contained in:
parent
c97283c207
commit
e00e1aba61
1 changed files with 0 additions and 3 deletions
|
@ -1066,14 +1066,11 @@ trx_undo_truncate_end(
|
|||
ulint last_page_no;
|
||||
trx_undo_rec_t* rec;
|
||||
trx_undo_rec_t* trunc_here;
|
||||
trx_rseg_t* rseg;
|
||||
mtr_t mtr;
|
||||
|
||||
ut_ad(mutex_own(&(trx->undo_mutex)));
|
||||
ut_ad(mutex_own(&(trx->rseg->mutex)));
|
||||
|
||||
rseg = trx->rseg;
|
||||
|
||||
for (;;) {
|
||||
mtr_start(&mtr);
|
||||
|
||||
|
|
Loading…
Reference in a new issue