Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
Description
A query like this:
CREATE VIEW v1 AS SELECT 1 FROM t1 PROCEDURE ANALYSE(); |
is currently disallowed by this code:
view_select:
|
...
|
lex->parsing_options.allows_select_procedure= FALSE;
|
;
|
|
...
|
|
procedure_clause:
|
...
|
if (! lex->parsing_options.allows_select_procedure) |
{
|
my_error(ER_VIEW_SELECT_CLAUSE, MYF(0), "PROCEDURE"); |
MYSQL_YYABORT;
|
}
|
|
It should be disallowed syntactically.
Attachments
Issue Links
- blocks
-
MDEV-8909 union parser cleanup
- Closed