diff options
-rw-r--r-- | storage/innobase/trx/trx0purge.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/storage/innobase/trx/trx0purge.cc b/storage/innobase/trx/trx0purge.cc index c312c352882..177ec25e3a8 100644 --- a/storage/innobase/trx/trx0purge.cc +++ b/storage/innobase/trx/trx0purge.cc @@ -378,7 +378,7 @@ static void trx_purge_free_segment(buf_block_t *block, mtr_t &mtr) block->page.frame, &mtr)) { block->fix(); - ut_d(const page_id_t id{block->page.id()}); + const page_id_t id{block->page.id()}; mtr.commit(); /* NOTE: If the server is killed after the log that was produced up to this point was written, and before the log from the mtr.commit() @@ -390,7 +390,7 @@ static void trx_purge_free_segment(buf_block_t *block, mtr_t &mtr) log_free_check(); mtr.start(); block->page.lock.x_lock(); - ut_ad(block->page.id() == id); + ut_a(block->page.id() == id); mtr.memo_push(block, MTR_MEMO_PAGE_X_MODIFY); } @@ -511,7 +511,7 @@ loop: log_free_check(); mtr.start(); rseg_hdr->page.lock.x_lock(); - ut_ad(rseg_hdr->page.id() == rseg.page_id()); + ut_a(rseg_hdr->page.id() == rseg.page_id()); mtr.memo_push(rseg_hdr, MTR_MEMO_PAGE_X_MODIFY); goto loop; |