summaryrefslogtreecommitdiff
path: root/storage/xtradb
diff options
context:
space:
mode:
authorJan Lindström <jplindst@mariadb.org>2014-03-03 15:43:38 +0200
committerJan Lindström <jplindst@mariadb.org>2014-03-03 15:43:38 +0200
commite656a8a92791944420c3793f6686357f584788bf (patch)
tree4ef6e51e0f9c59f27d4e8651c3299b28219af9fb /storage/xtradb
parentb8e0bc3a67557290aaee67e9b6f59b782eebd59e (diff)
downloadmariadb-git-e656a8a92791944420c3793f6686357f584788bf.tar.gz
Fix windows os_file_write.
Diffstat (limited to 'storage/xtradb')
-rw-r--r--storage/xtradb/os/os0file.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/xtradb/os/os0file.cc b/storage/xtradb/os/os0file.cc
index e4530f0f338..c56a625a84c 100644
--- a/storage/xtradb/os/os0file.cc
+++ b/storage/xtradb/os/os0file.cc
@@ -5179,11 +5179,11 @@ os_aio_windows_handle(
case OS_FILE_WRITE:
if (slot->message1 && slot->page_compression && 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 {
ret_val = os_file_write(slot->name, slot->file, slot->buf,
- slot->control.Offset, slot->control.OffsetHigh, slot->len);
+ slot->offset, slot->len);
}
break;
case OS_FILE_READ: