summaryrefslogtreecommitdiff
path: root/sql/sql_view.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2017-12-19 17:12:14 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2017-12-19 17:12:14 +0200
commit028e91f380b570317b725ba6eab1c9e99c5aa8d9 (patch)
treece756beb7c0d919dd1ed4f019cb17b34fe637680 /sql/sql_view.cc
parent8ed78cf7f93f6129c11ee979500971c11e15f6f9 (diff)
parent8d70097c216081e8013a548bfbde156e48985816 (diff)
downloadmariadb-git-028e91f380b570317b725ba6eab1c9e99c5aa8d9.tar.gz
Merge 10.2 into bb-10.2-ext
Diffstat (limited to 'sql/sql_view.cc')
-rw-r--r--sql/sql_view.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_view.cc b/sql/sql_view.cc
index e52ea0f7a39..775105af88b 100644
--- a/sql/sql_view.cc
+++ b/sql/sql_view.cc
@@ -430,14 +430,14 @@ bool mysql_create_view(THD *thd, TABLE_LIST *views,
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;
goto err;
}
+ WSREP_TO_ISOLATION_BEGIN(WSREP_MYSQL_DB, NULL, NULL)
+
/*
ignore lock specs for CREATE statement
*/