Commit 111570df authored by Alfranio Correia's avatar Alfranio Correia

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.
parent 0b5b1dd1
...@@ -11306,7 +11306,10 @@ flush_option: ...@@ -11306,7 +11306,10 @@ flush_option:
| STATUS_SYM | STATUS_SYM
{ Lex->type|= REFRESH_STATUS; } { Lex->type|= REFRESH_STATUS; }
| SLAVE | SLAVE
{ Lex->type|= REFRESH_SLAVE; } {
Lex->type|= REFRESH_SLAVE;
Lex->reset_slave_info.all= false;
}
| MASTER_SYM | MASTER_SYM
{ Lex->type|= REFRESH_MASTER; } { Lex->type|= REFRESH_MASTER; }
| DES_KEY_FILE | DES_KEY_FILE
......
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