branches/innodb+

I have added some too strict assertions on Marko's suggestion in r3355.
This patch removes those assertions.
This commit is contained in:
inaam 2008-12-04 19:51:29 +00:00
parent d81f82284d
commit dedade9f2e

View file

@ -429,11 +429,7 @@ buf_flush_relocate_on_flush_list(
ut_ad(buf_pool_mutex_own());
ut_ad(buf_page_in_file(bpage));
ut_ad(buf_page_in_file(dpage));
ut_ad(mutex_own(buf_page_get_mutex(bpage)));
ut_ad(buf_page_get_state(dpage) != BUF_BLOCK_FILE_PAGE
|| mutex_own(buf_page_get_mutex(dpage)));
ut_ad(bpage->in_flush_list);
ut_ad(dpage->in_flush_list);