Commit 47ffb583 authored by unknown's avatar unknown

added new syntax:

STOP|START SLAVE
rather than SLAVE STOP|START, which is now deprecated and should be deleted in 4.1

parent 68a5932a
......@@ -1276,7 +1276,24 @@ opt_to:
| EQ {}
| AS {};
/*
* The first two deprecate the last two--delete the last two for 4.1 release
*/
slave:
START_SYM SLAVE slave_thread_opts
{
LEX *lex=Lex;
lex->sql_command = SQLCOM_SLAVE_START;
lex->type = 0;
}
|
STOP_SYM SLAVE slave_thread_opts
{
LEX *lex=Lex;
lex->sql_command = SQLCOM_SLAVE_STOP;
lex->type = 0;
}
|
SLAVE START_SYM slave_thread_opts
{
LEX *lex=Lex;
......
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