Commit b40c99a8 authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-17458: Clear more of the TRX_SYS page

trx_rseg_array_init(): Using the 10.4 specific MLOG_MEMSET record,
clear the entire TRX_SYS_WSREP_XID_INFO field.
parent cf77951f
......@@ -629,10 +629,8 @@ trx_rseg_array_init()
/* Finally, clear WSREP XID in TRX_SYS page. */
const buf_block_t* sys = trx_sysf_get(&mtr);
mlog_write_ulint(TRX_SYS + TRX_SYS_WSREP_XID_INFO +
+ TRX_SYS_WSREP_XID_MAGIC_N_FLD + sys->frame,
0, MLOG_4BYTES, &mtr);
mlog_memset(TRX_SYS + TRX_SYS_WSREP_XID_INFO + sys->frame,
TRX_SYS_WSREP_XID_LEN, 0, &mtr);
mtr.commit();
}
#endif
......
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