Commit a6cc6cd6 authored by Vasil Dimov's avatar Vasil Dimov

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

parent 4d79dc6f
...@@ -1870,7 +1870,6 @@ trx_undo_set_state_at_prepare( ...@@ -1870,7 +1870,6 @@ trx_undo_set_state_at_prepare(
mtr_t* mtr) /*!< in: mtr */ mtr_t* mtr) /*!< in: mtr */
{ {
trx_usegf_t* seg_hdr; trx_usegf_t* seg_hdr;
trx_upagef_t* page_hdr;
trx_ulogf_t* undo_header; trx_ulogf_t* undo_header;
page_t* undo_page; page_t* undo_page;
ulint offset; ulint offset;
...@@ -1888,7 +1887,6 @@ trx_undo_set_state_at_prepare( ...@@ -1888,7 +1887,6 @@ trx_undo_set_state_at_prepare(
undo->hdr_page_no, mtr); undo->hdr_page_no, mtr);
seg_hdr = undo_page + TRX_UNDO_SEG_HDR; seg_hdr = undo_page + TRX_UNDO_SEG_HDR;
page_hdr = undo_page + TRX_UNDO_PAGE_HDR;
/*------------------------------*/ /*------------------------------*/
undo->state = TRX_UNDO_PREPARED; undo->state = TRX_UNDO_PREPARED;
......
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