summaryrefslogtreecommitdiff
path: root/innobase/log/log0recv.c
diff options
context:
space:
mode:
Diffstat (limited to 'innobase/log/log0recv.c')
-rw-r--r--innobase/log/log0recv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/innobase/log/log0recv.c b/innobase/log/log0recv.c
index d16085a2d6f..edab98fa39c 100644
--- a/innobase/log/log0recv.c
+++ b/innobase/log/log0recv.c
@@ -2234,7 +2234,8 @@ try_open_again:
fil_reserve_right_to_open();
- file_handle = os_file_create(name, OS_FILE_OPEN, OS_FILE_AIO, &ret);
+ file_handle = os_file_create(name, OS_FILE_OPEN,
+ OS_FILE_LOG, OS_FILE_AIO, &ret);
if (ret == FALSE) {
fil_release_right_to_open();