sql_yacc.yy:

Allow FROM or IN in SHOW KEYS, as in other SHOW statements.
This commit is contained in:
paul@kite-hub.kitebird.com 2004-09-03 10:56:55 -05:00
parent f91ca0bd66
commit 38f462ae6f

View file

@ -2917,7 +2917,7 @@ show_param:
lex->select->select_limit= lex->thd->variables.select_limit;
lex->select->offset_limit= 0L;
} 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;
if ($4)