mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 04:22:27 +01:00
Fix test failure on galera.view caused by incorrect location
of WSREP_TO_ISOLATION_BEGIN.
This commit is contained in:
parent
1b478a7aba
commit
f2a0fa8685
1 changed files with 2 additions and 1 deletions
|
@ -426,11 +426,12 @@ bool mysql_create_view(THD *thd, TABLE_LIST *views,
|
|||
|
||||
if ((res= create_view_precheck(thd, tables, view, mode)))
|
||||
goto err;
|
||||
WSREP_TO_ISOLATION_BEGIN(WSREP_MYSQL_DB, NULL, NULL)
|
||||
|
||||
lex->link_first_table_back(view, link_to_local);
|
||||
view->open_type= OT_BASE_ONLY;
|
||||
|
||||
WSREP_TO_ISOLATION_BEGIN(WSREP_MYSQL_DB, NULL, NULL)
|
||||
|
||||
if (check_dependencies_in_with_clauses(lex->with_clauses_list))
|
||||
{
|
||||
res= TRUE;
|
||||
|
|
Loading…
Reference in a new issue