diff options
Diffstat (limited to 'storage/innobase/include/lock0lock.ic')
-rw-r--r-- | storage/innobase/include/lock0lock.ic | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/innobase/include/lock0lock.ic b/storage/innobase/include/lock0lock.ic index 6c235f23680..a01d866e6c0 100644 --- a/storage/innobase/include/lock0lock.ic +++ b/storage/innobase/include/lock0lock.ic @@ -123,12 +123,12 @@ lock_rec_create( trx mutex */ { btr_assert_not_corrupted(block, index); + const page_id_t id(block->page.id()); return lock_rec_create_low( #ifdef WITH_WSREP c_lock, thr, #endif - type_mode, - block->page.id.space(), block->page.id.page_no(), + type_mode, id.space(), id.page_no(), block->frame, heap_no, index, trx, caller_owns_trx_mutex); } |