Commit bafe529a authored by Jan Lindström's avatar Jan Lindström

Fix Windows compiler error.

parent d4aef382
...@@ -5377,7 +5377,7 @@ os_aio_windows_handle( ...@@ -5377,7 +5377,7 @@ os_aio_windows_handle(
switch (slot->type) { switch (slot->type) {
case OS_FILE_WRITE: case OS_FILE_WRITE:
if (slot->message1 && slot->page_compression slot->page_compress_success && slot->page_buf) { if (slot->message1 && slot->page_compression && slot->page_compress_success && slot->page_buf) {
ret_val = os_file_write(slot->name, slot->file, slot->page_buf, ret_val = os_file_write(slot->name, slot->file, slot->page_buf,
slot->offset, slot->len); slot->offset, slot->len);
} else { } else {
......
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