Commit a9578542 authored by marko's avatar marko

branches/innodb+: Use buf_pool_mutex_own() instead of accessing

buf_pool_mutex directly.
parent 1838b003
......@@ -1390,7 +1390,7 @@ buf_pool_watch_set(
ulint space, /* in: space id */
ulint page_no) /* in: page number */
{
ut_ad(mutex_own(&buf_pool_mutex));
ut_ad(buf_pool_mutex_own());
/* There can't be multiple watches at the same time. */
ut_a(!buf_pool->watch_active);
......
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