Commit 4b43c896 authored by marko's avatar marko

branches/zip: lock_move_reorganize_page(): Move the UNIV_DEBUG check for

orphaned locks outside the "for" loop.  This mistake was made in r1252.
parent 73ea67b0
......@@ -2690,6 +2690,7 @@ lock_move_reorganize_page(
page_cur_move_to_next(&cur1);
page_cur_move_to_next(&cur2);
}
#ifdef UNIV_DEBUG
{
......@@ -2706,7 +2707,6 @@ lock_move_reorganize_page(
}
#endif /* UNIV_DEBUG */
}
}
lock_mutex_exit_kernel();
......
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