Commit d75e5995 authored by Vasil Dimov's avatar Vasil Dimov

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

parent 70a486c7
...@@ -315,7 +315,6 @@ trx_purge_add_update_undo_to_history( ...@@ -315,7 +315,6 @@ trx_purge_add_update_undo_to_history(
trx_rsegf_t* rseg_header; trx_rsegf_t* rseg_header;
trx_usegf_t* seg_header; trx_usegf_t* seg_header;
trx_ulogf_t* undo_header; trx_ulogf_t* undo_header;
trx_upagef_t* page_header;
ulint hist_size; ulint hist_size;
undo = trx->update_undo; undo = trx->update_undo;
...@@ -331,7 +330,6 @@ trx_purge_add_update_undo_to_history( ...@@ -331,7 +330,6 @@ trx_purge_add_update_undo_to_history(
undo_header = undo_page + undo->hdr_offset; undo_header = undo_page + undo->hdr_offset;
seg_header = undo_page + TRX_UNDO_SEG_HDR; seg_header = undo_page + TRX_UNDO_SEG_HDR;
page_header = undo_page + TRX_UNDO_PAGE_HDR;
if (undo->state != TRX_UNDO_CACHED) { if (undo->state != TRX_UNDO_CACHED) {
/* The undo log segment will not be reused */ /* The undo log segment will not be reused */
......
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