diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2017-11-24 16:55:20 +0000 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2017-11-24 16:55:20 +0000 |
commit | 40756c9151a564b57f351111d7486b4d18ef5e39 (patch) | |
tree | de47ea5016c19da0af6215d5bf0b9451c8470a4e | |
parent | 316f0d8fe3f3eda61bfe1025ef59a93dde3c753b (diff) | |
download | mariadb-git-40756c9151a564b57f351111d7486b4d18ef5e39.tar.gz |
Fix Windows build with -DPLUGIN_PERFSCHEMA=NO
-rw-r--r-- | storage/innobase/include/os0file.h | 4 | ||||
-rw-r--r-- | storage/xtradb/include/os0file.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/storage/innobase/include/os0file.h b/storage/innobase/include/os0file.h index e2e88eee560..55e41f6ebb5 100644 --- a/storage/innobase/include/os0file.h +++ b/storage/innobase/include/os0file.h @@ -405,10 +405,10 @@ to original un-instrumented file I/O APIs */ os_file_read_no_error_handling_func(file, buf, offset, n) # define os_file_read_no_error_handling_int_fd( \ file, buf, offset, n) \ - os_file_read_no_error_handling_func(file, buf, offset, n) + os_file_read_no_error_handling_func(OS_FILE_FROM_FD(file), buf, offset, n) # define os_file_write_int_fd(name, file, buf, offset, n) \ - os_file_write_func(name, file, buf, offset, n) + os_file_write_func(name, OS_FILE_FROM_FD(file), buf, offset, n) # define os_file_write(name, file, buf, offset, n) \ os_file_write_func(name, file, buf, offset, n) diff --git a/storage/xtradb/include/os0file.h b/storage/xtradb/include/os0file.h index b17e09cf0fa..f69230240c5 100644 --- a/storage/xtradb/include/os0file.h +++ b/storage/xtradb/include/os0file.h @@ -469,10 +469,10 @@ to original un-instrumented file I/O APIs */ os_file_read_no_error_handling_func(file, buf, offset, n) # define os_file_read_no_error_handling_int_fd( \ file, buf, offset, n) \ - os_file_read_no_error_handling_func(file, buf, offset, n) + os_file_read_no_error_handling_func(OS_FILE_FROM_FD(file), buf, offset, n) # define os_file_write_int_fd(name, file, buf, offset, n) \ - os_file_write_func(name, file, buf, offset, n) + os_file_write_func(name, OS_FILE_FROM_FD(file), buf, offset, n) # define os_file_write(name, file, buf, offset, n) \ os_file_write_func(name, file, buf, offset, n) |