summaryrefslogtreecommitdiff
path: root/storage
diff options
context:
space:
mode:
authorVasil Dimov <vasil.dimov@oracle.com>2010-09-15 18:44:55 +0300
committerVasil Dimov <vasil.dimov@oracle.com>2010-09-15 18:44:55 +0300
commit85df29122dbe629692d857c01bd486398312b05a (patch)
tree31af51b0be16a08a6156f421a4d088b6d5de8c7f /storage
parent6c0ad7212b710f82554af7f4f8d9d26362d4f3fd (diff)
downloadmariadb-git-85df29122dbe629692d857c01bd486398312b05a.tar.gz
(partially) Fix Bug#55227 Fix compiler warnings in innodb with gcc 4.6
Fix compiler warning: trx/trx0purge.c: In function 'trx_purge_add_update_undo_to_history': trx/trx0purge.c:309:16: error: variable 'page_header' set but not used [-Werror=unused-but-set-variable]
Diffstat (limited to 'storage')
-rw-r--r--storage/innodb_plugin/trx/trx0purge.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/storage/innodb_plugin/trx/trx0purge.c b/storage/innodb_plugin/trx/trx0purge.c
index abbfa3d7f81..09c9755c74c 100644
--- a/storage/innodb_plugin/trx/trx0purge.c
+++ b/storage/innodb_plugin/trx/trx0purge.c
@@ -306,7 +306,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;
@@ -322,7 +321,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 */