mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
Post-push fix for BUG#11809016.
In 5.5, REFRESH SLAVE is used as an alias for RESET SLAVE and was removed in 5.6. Reseting a slave through REFRESH SLAVE was causing errors in the valgrind platform since reset_slave_info was undefined. To fix the problem, we have set reset_slave_info while calling REFRESH SLAVE.
This commit is contained in:
parent
9fe60b4d5b
commit
f2c7452f1c
1 changed files with 4 additions and 1 deletions
|
@ -11306,7 +11306,10 @@ flush_option:
|
|||
| STATUS_SYM
|
||||
{ Lex->type|= REFRESH_STATUS; }
|
||||
| SLAVE
|
||||
{ Lex->type|= REFRESH_SLAVE; }
|
||||
{
|
||||
Lex->type|= REFRESH_SLAVE;
|
||||
Lex->reset_slave_info.all= false;
|
||||
}
|
||||
| MASTER_SYM
|
||||
{ Lex->type|= REFRESH_MASTER; }
|
||||
| DES_KEY_FILE
|
||||
|
|
Loading…
Reference in a new issue