Commit e93d44f2 authored by sensssz's avatar sensssz

Bug fix: add undeclared variables.

parent 6100f59f
......@@ -2971,7 +2971,9 @@ lock_rec_dequeue_from_page(
{
ulint space;
ulint page_no;
ulint rec_fold
lock_t* lock;
lock_t* previous = NULL;
trx_lock_t* trx_lock;
ut_ad(lock_mutex_own());
......@@ -2982,6 +2984,7 @@ lock_rec_dequeue_from_page(
space = in_lock->un_member.rec_lock.space;
page_no = in_lock->un_member.rec_lock.page_no;
rec_fold = lock_rec_fold(space, page_no);
in_lock->index->table->n_rec_locks--;
......
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