Commit 8e6d41e2 authored by Inaam Rana's avatar Inaam Rana

merge from mysql-5.1

parents a22e1873 f22437ab
...@@ -1230,8 +1230,10 @@ buf_pool_free_instance( ...@@ -1230,8 +1230,10 @@ buf_pool_free_instance(
ut_ad(bpage->in_LRU_list); ut_ad(bpage->in_LRU_list);
if (state != BUF_BLOCK_FILE_PAGE) { if (state != BUF_BLOCK_FILE_PAGE) {
/* We must not have any dirty block. */ /* We must not have any dirty block except
ut_ad(state == BUF_BLOCK_ZIP_PAGE); when doing a fast shutdown. */
ut_ad(state == BUF_BLOCK_ZIP_PAGE
|| srv_fast_shutdown == 2);
buf_page_free_descriptor(bpage); buf_page_free_descriptor(bpage);
} }
......
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