Commit cf43c238 authored by unknown's avatar unknown

sql_yacc.yy:

  Allow FROM or IN in SHOW KEYS, as in other SHOW statements.


sql/sql_yacc.yy:
  Allow FROM or IN in SHOW KEYS, as in other SHOW statements.
parent 3c7b8e4f
...@@ -2917,7 +2917,7 @@ show_param: ...@@ -2917,7 +2917,7 @@ show_param:
lex->select->select_limit= lex->thd->variables.select_limit; lex->select->select_limit= lex->thd->variables.select_limit;
lex->select->offset_limit= 0L; lex->select->offset_limit= 0L;
} limit_clause } limit_clause
| keys_or_index FROM table_ident opt_db | keys_or_index from_or_in table_ident opt_db
{ {
Lex->sql_command= SQLCOM_SHOW_KEYS; Lex->sql_command= SQLCOM_SHOW_KEYS;
if ($4) if ($4)
......
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