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

Fix windows os_file_write.

parent b8e0bc3a
...@@ -5179,11 +5179,11 @@ os_aio_windows_handle( ...@@ -5179,11 +5179,11 @@ 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->control.Offset, slot->control.OffsetHigh, 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->control.Offset, slot->control.OffsetHigh, slot->len); slot->offset, slot->len);
} }
break; break;
case OS_FILE_READ: case OS_FILE_READ:
......
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