mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge branch '10.1' into 10.2
This commit is contained in:
@ -772,7 +772,9 @@ bool st_select_lex_unit::prepare(THD *thd_arg, select_result *sel_result,
|
||||
if (saved_error)
|
||||
goto err;
|
||||
|
||||
if (fake_select_lex != NULL && thd->stmt_arena->is_stmt_prepare())
|
||||
if (fake_select_lex != NULL &&
|
||||
(thd->stmt_arena->is_stmt_prepare() ||
|
||||
(thd->lex->context_analysis_only & CONTEXT_ANALYSIS_ONLY_VIEW)))
|
||||
{
|
||||
/* Validate the global parameters of this union */
|
||||
|
||||
|
Reference in New Issue
Block a user