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:
marko 2006-12-04 12:38:27 +00:00
parent 229d901921
commit 7f903fa0fe

View file

@ -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: