summaryrefslogtreecommitdiff
path: root/storage/innobase/include/mtr0mtr.ic
diff options
context:
space:
mode:
Diffstat (limited to 'storage/innobase/include/mtr0mtr.ic')
-rw-r--r--storage/innobase/include/mtr0mtr.ic4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/innobase/include/mtr0mtr.ic b/storage/innobase/include/mtr0mtr.ic
index fe76d4cc271..deb1e977404 100644
--- a/storage/innobase/include/mtr0mtr.ic
+++ b/storage/innobase/include/mtr0mtr.ic
@@ -170,10 +170,10 @@ mtr_t::release_block_at_savepoint(
ut_a(slot->object == block);
- reinterpret_cast<buf_block_t*>(block)->unfix();
-
buf_page_release_latch(block, slot->type);
+ reinterpret_cast<buf_block_t*>(block)->unfix();
+
slot->object = NULL;
}