Commit a5975d43 authored by Vasil Dimov's avatar Vasil Dimov

(trx0undo.c:1075) Bug#55227 Fix compiler warnings in innodb with gcc 4.6

parent 862caf5d
...@@ -1072,14 +1072,11 @@ trx_undo_truncate_end( ...@@ -1072,14 +1072,11 @@ trx_undo_truncate_end(
ulint last_page_no; ulint last_page_no;
trx_undo_rec_t* rec; trx_undo_rec_t* rec;
trx_undo_rec_t* trunc_here; trx_undo_rec_t* trunc_here;
trx_rseg_t* rseg;
mtr_t mtr; mtr_t mtr;
ut_ad(mutex_own(&(trx->undo_mutex))); ut_ad(mutex_own(&(trx->undo_mutex)));
ut_ad(mutex_own(&(trx->rseg->mutex))); ut_ad(mutex_own(&(trx->rseg->mutex)));
rseg = trx->rseg;
for (;;) { for (;;) {
mtr_start(&mtr); mtr_start(&mtr);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment