Commit f2a0fa86 authored by Jan Lindström's avatar Jan Lindström

Fix test failure on galera.view caused by incorrect location

of WSREP_TO_ISOLATION_BEGIN.
parent 1b478a7a
...@@ -426,11 +426,12 @@ bool mysql_create_view(THD *thd, TABLE_LIST *views, ...@@ -426,11 +426,12 @@ bool mysql_create_view(THD *thd, TABLE_LIST *views,
if ((res= create_view_precheck(thd, tables, view, mode))) if ((res= create_view_precheck(thd, tables, view, mode)))
goto err; goto err;
WSREP_TO_ISOLATION_BEGIN(WSREP_MYSQL_DB, NULL, NULL)
lex->link_first_table_back(view, link_to_local); lex->link_first_table_back(view, link_to_local);
view->open_type= OT_BASE_ONLY; 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)) if (check_dependencies_in_with_clauses(lex->with_clauses_list))
{ {
res= TRUE; res= TRUE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment