mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 12:32:27 +01:00
"optimization cleanup" reverted - problems on rpl_redirect test.
It happens that mysql->client_next->client_next=mysql and mysql_close() goes into infinite loop. Results vary from simple sigsegv (FreeBSD), to hard system lockup (Linux) :)
This commit is contained in:
parent
7c8f81f3e9
commit
88d274c62f
1 changed files with 2 additions and 0 deletions
|
@ -2276,6 +2276,8 @@ static MYSQL* spawn_init(MYSQL* parent, const char* host,
|
|||
else if (parent->options.db)
|
||||
child->options.db = my_strdup(parent->options.db, MYF(0));
|
||||
|
||||
child->options.rpl_parse = child->options.rpl_probe = child->rpl_pivot = 0;
|
||||
|
||||
return child;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue