summaryrefslogtreecommitdiff
path: root/sql/sql_view.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2017-12-19 17:28:22 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2017-12-19 17:28:22 +0200
commit0436a0ff3ccb837a8d3e5ed58628d6a23f16ab6d (patch)
treef5971fa4524ce2da166870930f03b970520ad0c2 /sql/sql_view.cc
parent0fd3def284b78dff71590686e8f82571fc3808e1 (diff)
parent88aff5f471d3d9ae8ecc2f909bcf5bd0ddd6aa7c (diff)
downloadmariadb-git-0436a0ff3ccb837a8d3e5ed58628d6a23f16ab6d.tar.gz
Merge bb-10.2-ext into 10.3
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 dd8c6b70446..e1225878905 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
*/