summaryrefslogtreecommitdiff
path: root/storage/innobase/trx/trx0rseg.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/innobase/trx/trx0rseg.c')
-rw-r--r--storage/innobase/trx/trx0rseg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/innobase/trx/trx0rseg.c b/storage/innobase/trx/trx0rseg.c
index b458364b05d..740320f68c1 100644
--- a/storage/innobase/trx/trx0rseg.c
+++ b/storage/innobase/trx/trx0rseg.c
@@ -236,8 +236,8 @@ trx_rseg_mem_create(
node_addr.page,
mtr) + node_addr.boffset;
- rseg->last_trx_no = mtr_read_dulint(
- undo_log_hdr + TRX_UNDO_TRX_NO, mtr);
+ rseg->last_trx_no = mach_read_from_8(
+ undo_log_hdr + TRX_UNDO_TRX_NO);
rseg->last_del_marks = mtr_read_ulint(
undo_log_hdr + TRX_UNDO_DEL_MARKS, MLOG_2BYTES, mtr);
} else {