Skip to content
Permalink
Browse files
Merge pull request #636 from grooverdan/10.0-galera-MDEV-8743-linux-a…
…io-ib_logfile0

MDEV-8743: ib_logfile0 Use O_CLOEXEC so galera SST scripts don't get fd
  • Loading branch information
Jan Lindström committed Mar 14, 2018
2 parents 7bd9530 + 26e4a48 commit 930682c
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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) {

0 comments on commit 930682c

Please sign in to comment.