Commit 260bc302 authored by unknown's avatar unknown

Bug#17112 - SHOW PLUGIN should be SHOW PLUGINS


sql/lex.h:
  SHOW PLUGINS - BUG#17112
sql/sql_yacc.yy:
  SHOW PLUGINS - BUG#17112
parent b42462c5
...@@ -396,6 +396,7 @@ static SYMBOL symbols[] = { ...@@ -396,6 +396,7 @@ static SYMBOL symbols[] = {
{ "PASSWORD", SYM(PASSWORD)}, { "PASSWORD", SYM(PASSWORD)},
{ "PHASE", SYM(PHASE_SYM)}, { "PHASE", SYM(PHASE_SYM)},
{ "PLUGIN", SYM(PLUGIN_SYM)}, { "PLUGIN", SYM(PLUGIN_SYM)},
{ "PLUGINS", SYM(PLUGINS_SYM)},
{ "POINT", SYM(POINT_SYM)}, { "POINT", SYM(POINT_SYM)},
{ "POLYGON", SYM(POLYGON)}, { "POLYGON", SYM(POLYGON)},
{ "PRECISION", SYM(PRECISION)}, { "PRECISION", SYM(PRECISION)},
......
...@@ -501,6 +501,7 @@ bool my_yyoverflow(short **a, YYSTYPE **b, ulong *yystacksize); ...@@ -501,6 +501,7 @@ bool my_yyoverflow(short **a, YYSTYPE **b, ulong *yystacksize);
%token PARAM_MARKER %token PARAM_MARKER
%token PHASE_SYM %token PHASE_SYM
%token PLUGIN_SYM %token PLUGIN_SYM
%token PLUGINS_SYM
%token POINTFROMTEXT %token POINTFROMTEXT
%token POINT_SYM %token POINT_SYM
%token POLYFROMTEXT %token POLYFROMTEXT
...@@ -8170,6 +8171,15 @@ show_param: ...@@ -8170,6 +8171,15 @@ show_param:
YYABORT; YYABORT;
} }
| PLUGIN_SYM | PLUGIN_SYM
{
LEX *lex= Lex;
WARN_DEPRECATED(yythd, "5.2", "SHOW PLUGIN", "'SHOW PLUGINS'");
lex->sql_command= SQLCOM_SELECT;
lex->orig_sql_command= SQLCOM_SHOW_PLUGINS;
if (prepare_schema_table(YYTHD, lex, 0, SCH_PLUGINS))
YYABORT;
}
| PLUGINS_SYM
{ {
LEX *lex= Lex; LEX *lex= Lex;
lex->sql_command= SQLCOM_SELECT; lex->sql_command= SQLCOM_SELECT;
...@@ -9358,7 +9368,6 @@ keyword: ...@@ -9358,7 +9368,6 @@ keyword:
| OPEN_SYM {} | OPEN_SYM {}
| PARSER_SYM {} | PARSER_SYM {}
| PARTITION_SYM {} | PARTITION_SYM {}
| PLUGIN_SYM {}
| PREPARE_SYM {} | PREPARE_SYM {}
| REMOVE_SYM {} | REMOVE_SYM {}
| REPAIR {} | REPAIR {}
...@@ -9539,6 +9548,8 @@ keyword_sp: ...@@ -9539,6 +9548,8 @@ keyword_sp:
| PARTITIONS_SYM {} | PARTITIONS_SYM {}
| PASSWORD {} | PASSWORD {}
| PHASE_SYM {} | PHASE_SYM {}
| PLUGIN_SYM {}
| PLUGINS_SYM {}
| POINT_SYM {} | POINT_SYM {}
| POLYGON {} | POLYGON {}
| PRESERVE_SYM {} | PRESERVE_SYM {}
...@@ -9552,7 +9563,7 @@ keyword_sp: ...@@ -9552,7 +9563,7 @@ keyword_sp:
| REBUILD_SYM {} | REBUILD_SYM {}
| RECOVER_SYM {} | RECOVER_SYM {}
| REDO_BUFFER_SIZE_SYM {} | REDO_BUFFER_SIZE_SYM {}
| REDOFILE_SYM {} | REDOFILE_SYM {}
| REDUNDANT_SYM {} | REDUNDANT_SYM {}
| RELAY_LOG_FILE_SYM {} | RELAY_LOG_FILE_SYM {}
| RELAY_LOG_POS_SYM {} | RELAY_LOG_POS_SYM {}
......
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