diff options
author | Sergey Petrunya <psergey@askmonty.org> | 2013-08-24 12:20:51 +0400 |
---|---|---|
committer | Sergey Petrunya <psergey@askmonty.org> | 2013-08-24 12:20:51 +0400 |
commit | d2d9eb65e46f9afe10cd09d1b69f3d238e364c19 (patch) | |
tree | e79d183611f6fe499ee3674fdb14d3d49ff159eb /sql/sql_yacc.yy | |
parent | f9c2b402f437a2278b04d971054fcacc57eb07aa (diff) | |
parent | 662bfed027dbf29d1d185ae677f0b5c79920287b (diff) | |
download | mariadb-git-d2d9eb65e46f9afe10cd09d1b69f3d238e364c19.tar.gz |
[SHOW] EXPLAIN UPDATE/DELETE, code re-structuring
- Merge with current 10.0-base
Diffstat (limited to 'sql/sql_yacc.yy')
-rw-r--r-- | sql/sql_yacc.yy | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sql/sql_yacc.yy b/sql/sql_yacc.yy index a10612e7266..d5aee86fea3 100644 --- a/sql/sql_yacc.yy +++ b/sql/sql_yacc.yy @@ -12029,13 +12029,21 @@ describe: } | describe_command opt_extended_describe { Lex->describe|= DESCRIBE_NORMAL; } - select + explanable_command { LEX *lex=Lex; lex->select_lex.options|= SELECT_DESCRIBE; } ; +explanable_command: + select + | insert + | replace + | update + | delete + ; + describe_command: DESC | DESCRIBE |