mirror of
https://github.com/MariaDB/server.git
synced 2026-10-23 18:49:29 +03:00
Yet more windows fixes.
This commit is contained in:
@@ -6246,12 +6246,12 @@ os_file_trim(
|
||||
FALSE, __FILE__, __LINE__);
|
||||
|
||||
if (slot->write_size) {
|
||||
slot->write_size = 0;
|
||||
*slot->write_size = 0;
|
||||
}
|
||||
return (FALSE);
|
||||
} else {
|
||||
if (slot->write_size) {
|
||||
slot->write_size = len;
|
||||
*slot->write_size = len;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -5188,7 +5188,7 @@ os_aio_windows_handle(
|
||||
break;
|
||||
case OS_FILE_READ:
|
||||
ret_val = os_file_read(slot->file, slot->buf,
|
||||
slot->control.Offset, slot->control.OffsetHigh, slot->len);
|
||||
slot->offset, slot->len);
|
||||
break;
|
||||
default:
|
||||
ut_error;
|
||||
@@ -6311,12 +6311,12 @@ os_file_trim(
|
||||
FALSE, __FILE__, __LINE__);
|
||||
|
||||
if (slot->write_size) {
|
||||
slot->write_size = 0;
|
||||
*slot->write_size = 0;
|
||||
}
|
||||
return (FALSE);
|
||||
} else {
|
||||
if (slot->write_size) {
|
||||
slot->write_size = len;
|
||||
*slot->write_size = len;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user