Follow-up to MDEV-12288: Add --debug=d,purge diagnostics

row_purge_reset_trx_id(): Display a DBUG message about resetting the
DB_TRX_ID.
This commit is contained in:
Marko Mäkelä 2018-01-09 13:44:43 +02:00
parent c5ac1f953b
commit 5a1283a4fa

View file

@ -705,6 +705,10 @@ row_purge_reset_trx_id(purge_node_t* node, mtr_t* mtr)
== row_get_rec_roll_ptr(rec, index, offsets)) {
ut_ad(!rec_get_deleted_flag(rec,
rec_offs_comp(offsets)));
DBUG_LOG("purge", "reset DB_TRX_ID="
<< ib::hex(row_get_rec_trx_id(
rec, index, offsets)));
mtr->set_named_space(index->space);
if (page_zip_des_t* page_zip
= buf_block_get_page_zip(