Commit 1cd9bbd7 authored by marko's avatar marko

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().
parent 4286b828
...@@ -315,10 +315,6 @@ buf_page_get_io_fix( ...@@ -315,10 +315,6 @@ buf_page_get_io_fix(
const buf_page_t* bpage) /* in: pointer to the control block */ const buf_page_t* bpage) /* in: pointer to the control block */
{ {
enum buf_io_fix io_fix = bpage->io_fix; 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 #ifdef UNIV_DEBUG
switch (io_fix) { switch (io_fix) {
case BUF_IO_NONE: case BUF_IO_NONE:
......
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