Commit 919443f7 authored by Sergei Golubchik's avatar Sergei Golubchik

MDEV-5679 MariaDB holds stdin open after startup as mysqld

parent 510ca9b6
...@@ -5527,6 +5527,7 @@ int mysqld_main(int argc, char **argv) ...@@ -5527,6 +5527,7 @@ int mysqld_main(int argc, char **argv)
(char*) "" : mysqld_unix_port), (char*) "" : mysqld_unix_port),
mysqld_port, mysqld_port,
MYSQL_COMPILATION_COMMENT); MYSQL_COMPILATION_COMMENT);
fclose(stdin);
#if defined(_WIN32) && !defined(EMBEDDED_LIBRARY) #if defined(_WIN32) && !defined(EMBEDDED_LIBRARY)
Service.SetRunning(); Service.SetRunning();
#endif #endif
......
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