Skip to content

Commit 9cefffd

Browse files
committed
Merge remote-tracking branch 'origin/10.1' into 10.2
# Conflicts: # storage/innobase/include/os0file.h
2 parents f1cc6e3 + 40756c9 commit 9cefffd

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

storage/innobase/include/os0file.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1197,11 +1197,12 @@ to original un-instrumented file I/O APIs */
11971197
# define os_file_read_no_error_handling(type, file, buf, offset, n, o) \
11981198
os_file_read_no_error_handling_func(type, file, buf, offset, n, o)
11991199
# define os_file_read_no_error_handling_int_fd(type, file, buf, offset, n) \
1200-
os_file_read_no_error_handling_func(type, file, buf, offset, n, NULL)
1200+
os_file_read_no_error_handling_func(type, OS_FILE_FROM_FD(file), buf, offset, n, NULL)
12011201

12021202
# define os_file_write(type, name, file, buf, offset, n) \
12031203
os_file_write_func(type, name, file, buf, offset, n)
1204-
# define os_file_write_int_fd os_file_write_func
1204+
# define os_file_write_int_fd(type, name, file, buf, offset, n) \
1205+
os_file_write_func(type, name, OS_FILE_FROM_FD(file), buf, offset, n)
12051206

12061207
# define os_file_flush(file) os_file_flush_func(file)
12071208

storage/xtradb/include/os0file.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -469,10 +469,10 @@ to original un-instrumented file I/O APIs */
469469
os_file_read_no_error_handling_func(file, buf, offset, n)
470470
# define os_file_read_no_error_handling_int_fd( \
471471
file, buf, offset, n) \
472-
os_file_read_no_error_handling_func(file, buf, offset, n)
472+
os_file_read_no_error_handling_func(OS_FILE_FROM_FD(file), buf, offset, n)
473473

474474
# define os_file_write_int_fd(name, file, buf, offset, n) \
475-
os_file_write_func(name, file, buf, offset, n)
475+
os_file_write_func(name, OS_FILE_FROM_FD(file), buf, offset, n)
476476
# define os_file_write(name, file, buf, offset, n) \
477477
os_file_write_func(name, file, buf, offset, n)
478478

0 commit comments

Comments
 (0)