Commit bf0ee2f1 authored by marko's avatar marko

branches/zip: trx_undo_rec_copy(): Add const qualifier to undo_rec.

This is a non-functional change.
parent 38657b25
...@@ -44,7 +44,7 @@ UNIV_INLINE ...@@ -44,7 +44,7 @@ UNIV_INLINE
trx_undo_rec_t* trx_undo_rec_t*
trx_undo_rec_copy( trx_undo_rec_copy(
/*==============*/ /*==============*/
trx_undo_rec_t* undo_rec, /*!< in: undo log record */ const trx_undo_rec_t* undo_rec, /*!< in: undo log record */
mem_heap_t* heap); /*!< in: heap where copied */ mem_heap_t* heap); /*!< in: heap where copied */
/**********************************************************************//** /**********************************************************************//**
Reads the undo log record type. Reads the undo log record type.
......
...@@ -100,7 +100,7 @@ UNIV_INLINE ...@@ -100,7 +100,7 @@ UNIV_INLINE
trx_undo_rec_t* trx_undo_rec_t*
trx_undo_rec_copy( trx_undo_rec_copy(
/*==============*/ /*==============*/
trx_undo_rec_t* undo_rec, /*!< in: undo log record */ const trx_undo_rec_t* undo_rec, /*!< in: undo log record */
mem_heap_t* heap) /*!< in: heap where copied */ mem_heap_t* heap) /*!< in: heap where copied */
{ {
ulint len; ulint len;
......
...@@ -1333,7 +1333,7 @@ trx_undo_get_undo_rec_low( ...@@ -1333,7 +1333,7 @@ trx_undo_get_undo_rec_low(
ulint rseg_id; ulint rseg_id;
ulint page_no; ulint page_no;
ulint offset; ulint offset;
page_t* undo_page; const page_t* undo_page;
trx_rseg_t* rseg; trx_rseg_t* rseg;
ibool is_insert; ibool is_insert;
mtr_t mtr; mtr_t mtr;
......
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