mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 03:51:50 +01:00
branches/zip: fil_io(): Remove an unnecessary #ifdef UNIV_SYNC_DEBUG
around a debug assertion.
This commit is contained in:
parent
ad51dcb5af
commit
75a60bc696
1 changed files with 0 additions and 2 deletions
|
@ -4312,10 +4312,8 @@ fil_io(
|
|||
ut_ad(recv_no_ibuf_operations || (type == OS_FILE_WRITE)
|
||||
|| !ibuf_bitmap_page(zip_size, block_offset)
|
||||
|| sync || is_log);
|
||||
#ifdef UNIV_SYNC_DEBUG
|
||||
ut_ad(!ibuf_inside() || is_log || (type == OS_FILE_WRITE)
|
||||
|| ibuf_page(space_id, zip_size, block_offset));
|
||||
#endif
|
||||
#endif
|
||||
if (sync) {
|
||||
mode = OS_AIO_SYNC;
|
||||
|
|
Loading…
Add table
Reference in a new issue