Commit 1f69ff44 authored by Jan Lindström's avatar Jan Lindström

Fix compiler error on Windows.

parent 56c4b016
...@@ -5303,16 +5303,16 @@ os_aio_windows_handle( ...@@ -5303,16 +5303,16 @@ os_aio_windows_handle(
case OS_FILE_WRITE: case OS_FILE_WRITE:
if (slot->message1 && slot->page_compression && slot->page_buf) { if (slot->message1 && slot->page_compression && 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 {
ret_val = os_file_write(slot->name, slot->file, slot->buf, ret_val = os_file_write(slot->name, slot->file, slot->buf,
slot->offset, slot->len); slot->offset, slot->len);
} }
break; break;
case OS_FILE_READ: case OS_FILE_READ:
ret_val = os_file_read(slot->file, slot->buf, ret_val = os_file_read(slot->file, slot->buf,
slot->offset, slot->len); slot->offset, slot->len, slot->page_compression);
break; break;
default: default:
ut_error; ut_error;
......
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