mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
MDEV-10442: "Address already in use" on restart
SST processes should inherit mysqld's process group.
This commit is contained in:
parent
2cd585ad34
commit
2400b769c6
1 changed files with 0 additions and 1 deletions
|
@ -264,7 +264,6 @@ process::process (const char* cmd, const char* type, char** env)
|
||||||
|
|
||||||
err_ = posix_spawnattr_setflags (&attr, POSIX_SPAWN_SETSIGDEF |
|
err_ = posix_spawnattr_setflags (&attr, POSIX_SPAWN_SETSIGDEF |
|
||||||
POSIX_SPAWN_SETSIGMASK |
|
POSIX_SPAWN_SETSIGMASK |
|
||||||
/* start a new process group */ POSIX_SPAWN_SETPGROUP |
|
|
||||||
POSIX_SPAWN_USEVFORK);
|
POSIX_SPAWN_USEVFORK);
|
||||||
if (err_)
|
if (err_)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue