Report that FROM and JOIN do not support Subqueries
This commit is contained in:
parent
7523513be5
commit
f5d4db7d9c
@ -1715,6 +1715,9 @@ class Parser
|
||||
*/
|
||||
public function RangeVariableDeclaration()
|
||||
{
|
||||
if ($this->lexer->isNextToken(Lexer::T_OPEN_PARENTHESIS) && $this->lexer->glimpse()['type'] === Lexer::T_SELECT) {
|
||||
$this->semanticalError('Subquery is not supported here', $this->lexer->token);
|
||||
}
|
||||
$abstractSchemaName = $this->AbstractSchemaName();
|
||||
|
||||
$this->validateAbstractSchemaName($abstractSchemaName);
|
||||
|
Loading…
x
Reference in New Issue
Block a user