summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasil Dimov <vasil.dimov@oracle.com>2010-09-20 19:30:44 +0300
committerVasil Dimov <vasil.dimov@oracle.com>2010-09-20 19:30:44 +0300
commitd75e5995d14ba4eca221e4dc844d89a3e9999568 (patch)
tree6eecb1a022da4dc1a22119bfe3218ced5cf33f3b
parent70a486c7e7857cce3e65d917706d4d59725cfbe8 (diff)
downloadmariadb-git-d75e5995d14ba4eca221e4dc844d89a3e9999568.tar.gz
(trx0purge.c:318) Bug#55227 Fix compiler warnings in innodb with gcc 4.6
-rw-r--r--storage/innobase/trx/trx0purge.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/storage/innobase/trx/trx0purge.c b/storage/innobase/trx/trx0purge.c
index e17ed547050..80fe6847261 100644
--- a/storage/innobase/trx/trx0purge.c
+++ b/storage/innobase/trx/trx0purge.c
@@ -315,7 +315,6 @@ trx_purge_add_update_undo_to_history(
trx_rsegf_t* rseg_header;
trx_usegf_t* seg_header;
trx_ulogf_t* undo_header;
- trx_upagef_t* page_header;
ulint hist_size;
undo = trx->update_undo;
@@ -331,7 +330,6 @@ trx_purge_add_update_undo_to_history(
undo_header = undo_page + undo->hdr_offset;
seg_header = undo_page + TRX_UNDO_SEG_HDR;
- page_header = undo_page + TRX_UNDO_PAGE_HDR;
if (undo->state != TRX_UNDO_CACHED) {
/* The undo log segment will not be reused */