mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Fixed bug #12762:
allowed set functions aggregated in outer subqueries, allowed nested set functions.
This commit is contained in:
@ -2125,7 +2125,8 @@ void reinit_stmt_before_use(THD *thd, LEX *lex)
|
||||
lex->result->cleanup();
|
||||
lex->result->set_thd(thd);
|
||||
}
|
||||
thd->allow_sum_func= 0;
|
||||
lex->allow_sum_func= 0;
|
||||
lex->in_sum_func= NULL;
|
||||
DBUG_VOID_RETURN;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user