Commit 202cebad authored by Vasil Dimov's avatar Vasil Dimov

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

parent 0babdaf2
...@@ -671,7 +671,6 @@ trx_purge_rseg_get_next_history_log( ...@@ -671,7 +671,6 @@ trx_purge_rseg_get_next_history_log(
{ {
page_t* undo_page; page_t* undo_page;
trx_ulogf_t* log_hdr; trx_ulogf_t* log_hdr;
trx_usegf_t* seg_hdr;
fil_addr_t prev_log_addr; fil_addr_t prev_log_addr;
trx_id_t trx_no; trx_id_t trx_no;
ibool del_marks; ibool del_marks;
...@@ -692,7 +691,6 @@ trx_purge_rseg_get_next_history_log( ...@@ -692,7 +691,6 @@ trx_purge_rseg_get_next_history_log(
undo_page = trx_undo_page_get_s_latched(rseg->space, rseg->zip_size, undo_page = trx_undo_page_get_s_latched(rseg->space, rseg->zip_size,
rseg->last_page_no, &mtr); rseg->last_page_no, &mtr);
log_hdr = undo_page + rseg->last_offset; log_hdr = undo_page + rseg->last_offset;
seg_hdr = undo_page + TRX_UNDO_SEG_HDR;
/* Increase the purge page count by one for every handled log */ /* Increase the purge page count by one for every handled log */
......
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