diff options
author | Jan Lindström <jan.lindstrom@mariadb.com> | 2018-03-14 09:38:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-14 09:38:04 +0200 |
commit | 930682c4877b66417184c1787fab7941c9331c34 (patch) | |
tree | 9dcde24cac8100065588b5788d92f017e726349d | |
parent | 7bd95307f2aa901c141d4d6c4c568a2ed85ba01b (diff) | |
parent | 26e4a48bda8a09ac4ddef64e12841fbee29f4d7d (diff) | |
download | mariadb-git-930682c4877b66417184c1787fab7941c9331c34.tar.gz |
Merge pull request #636 from grooverdan/10.0-galera-MDEV-8743-linux-aio-ib_logfile0
MDEV-8743: ib_logfile0 Use O_CLOEXEC so galera SST scripts don't get fd
-rw-r--r-- | storage/innobase/os/os0file.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innobase/os/os0file.cc b/storage/innobase/os/os0file.cc index e946bcf5f30..df096dcc6fd 100644 --- a/storage/innobase/os/os0file.cc +++ b/storage/innobase/os/os0file.cc @@ -3578,7 +3578,7 @@ os_aio_native_aio_supported(void) strcpy(name + dirnamelen, "ib_logfile0"); - fd = ::open(name, O_RDONLY); + fd = ::open(name, O_RDONLY | O_CLOEXEC); if (fd == -1) { |