Commit 930682c4 authored by Jan Lindström's avatar Jan Lindström Committed by GitHub

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
parents 7bd95307 26e4a48b
...@@ -3578,7 +3578,7 @@ os_aio_native_aio_supported(void) ...@@ -3578,7 +3578,7 @@ os_aio_native_aio_supported(void)
strcpy(name + dirnamelen, "ib_logfile0"); strcpy(name + dirnamelen, "ib_logfile0");
fd = ::open(name, O_RDONLY); fd = ::open(name, O_RDONLY | O_CLOEXEC);
if (fd == -1) { if (fd == -1) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment