mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 06:44:16 +01:00
branches/zip: Cover the diagnostic print statement with a suitable lock. It
caused an assertion failure during testing.
This commit is contained in:
parent
61b529a9b5
commit
33c5bfc756
1 changed files with 3 additions and 3 deletions
|
@ -3070,9 +3070,6 @@ corrupt:
|
|||
ut_error;
|
||||
}
|
||||
|
||||
mutex_exit(buf_page_get_mutex(bpage));
|
||||
buf_pool_mutex_exit();
|
||||
|
||||
#ifdef UNIV_DEBUG
|
||||
if (buf_debug_prints) {
|
||||
fprintf(stderr, "Has %s page space %lu page no %lu\n",
|
||||
|
@ -3081,6 +3078,9 @@ corrupt:
|
|||
(ulong) buf_page_get_page_no(bpage));
|
||||
}
|
||||
#endif /* UNIV_DEBUG */
|
||||
|
||||
mutex_exit(buf_page_get_mutex(bpage));
|
||||
buf_pool_mutex_exit();
|
||||
}
|
||||
|
||||
/*************************************************************************
|
||||
|
|
Loading…
Add table
Reference in a new issue