Commit 1f69e099 authored by marko's avatar marko

branches/zip: fil_io(): Remove an unnecessary #ifdef UNIV_SYNC_DEBUG

around a debug assertion.
parent 6df13976
...@@ -4312,10 +4312,8 @@ fil_io( ...@@ -4312,10 +4312,8 @@ fil_io(
ut_ad(recv_no_ibuf_operations || (type == OS_FILE_WRITE) ut_ad(recv_no_ibuf_operations || (type == OS_FILE_WRITE)
|| !ibuf_bitmap_page(zip_size, block_offset) || !ibuf_bitmap_page(zip_size, block_offset)
|| sync || is_log); || sync || is_log);
#ifdef UNIV_SYNC_DEBUG
ut_ad(!ibuf_inside() || is_log || (type == OS_FILE_WRITE) ut_ad(!ibuf_inside() || is_log || (type == OS_FILE_WRITE)
|| ibuf_page(space_id, zip_size, block_offset)); || ibuf_page(space_id, zip_size, block_offset));
#endif
#endif #endif
if (sync) { if (sync) {
mode = OS_AIO_SYNC; mode = OS_AIO_SYNC;
......
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