mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 14:02:32 +01:00
branches/zip: buf_page_get_io_fix(): Remove UNIV_SYNC_DEBUG assertions,
as the field will be read without mutex protection in buf_page_io_complete().
This commit is contained in:
parent
229d901921
commit
7f903fa0fe
1 changed files with 0 additions and 4 deletions
|
@ -315,10 +315,6 @@ buf_page_get_io_fix(
|
|||
const buf_page_t* bpage) /* in: pointer to the control block */
|
||||
{
|
||||
enum buf_io_fix io_fix = bpage->io_fix;
|
||||
#ifdef UNIV_SYNC_DEBUG
|
||||
ut_a(mutex_own(&buf_pool->mutex)
|
||||
|| mutex_own(buf_page_get_mutex((buf_page_t*) bpage)));
|
||||
#endif /* UNIV_SYNC_DEBUG */
|
||||
#ifdef UNIV_DEBUG
|
||||
switch (io_fix) {
|
||||
case BUF_IO_NONE:
|
||||
|
|
Loading…
Reference in a new issue