summaryrefslogtreecommitdiff
path: root/sql/sql_view.cc
diff options
context:
space:
mode:
authorIgor Babaev <igor@askmonty.org>2016-08-26 16:09:22 -0700
committerIgor Babaev <igor@askmonty.org>2016-08-26 16:09:22 -0700
commitc8f85bf263a81a625089507d747236852ec87024 (patch)
treee6d45e1d4a436994dfa9c5c84dd8a4d8b514bd5d /sql/sql_view.cc
parentf33c35240de0e2a1d33da80a081e1c8c7d941378 (diff)
downloadmariadb-git-c8f85bf263a81a625089507d747236852ec87024.tar.gz
mdev-9864: cleanup, re-factoring.
Added comments.
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 36f5c294663..75b4021d91a 100644
--- a/sql/sql_view.cc
+++ b/sql/sql_view.cc
@@ -430,7 +430,7 @@ bool mysql_create_view(THD *thd, TABLE_LIST *views,
lex->link_first_table_back(view, link_to_local);
view->open_type= OT_BASE_ONLY;
- if (check_dependencies_in_with_clauses(thd, lex->with_clauses_list))
+ if (check_dependencies_in_with_clauses(lex->with_clauses_list))
{
res= TRUE;
goto err;
@@ -1390,7 +1390,7 @@ bool mysql_make_view(THD *thd, TABLE_SHARE *share, TABLE_LIST *table,
TABLE_LIST *tbl;
Security_context *security_ctx= 0;
- if (check_dependencies_in_with_clauses(thd, thd->lex->with_clauses_list))
+ if (check_dependencies_in_with_clauses(thd->lex->with_clauses_list))
goto err;
/*