Commit 26e4a48b authored by Daniel Black's avatar Daniel Black

MDEV-8743: ib_logfile0 Use O_CLOEXEC so galera SST scripts don't get fd

parent 7bd95307
......@@ -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) {
......
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