summaryrefslogtreecommitdiff
path: root/sql/sql_view.cc
diff options
context:
space:
mode:
authorEugene Kosov <claprix@yandex.ru>2018-05-28 18:39:27 +0300
committerSergey Vojtovich <svoj@mariadb.org>2019-03-22 22:30:36 +0400
commita523444eda55f587d7b7255cc821196accd0663d (patch)
tree17460645ca84b96393b4edff0b4c610b43be14ab /sql/sql_view.cc
parent1c60f40868f6067be81a50198e1c72df08814adf (diff)
downloadmariadb-git-a523444eda55f587d7b7255cc821196accd0663d.tar.gz
remove dead code
Diffstat (limited to 'sql/sql_view.cc')
-rw-r--r--sql/sql_view.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/sql_view.cc b/sql/sql_view.cc
index c2cb5902371..50416940960 100644
--- a/sql/sql_view.cc
+++ b/sql/sql_view.cc
@@ -1712,7 +1712,6 @@ bool mysql_make_view(THD *thd, TABLE_SHARE *share, TABLE_LIST *table,
view_select->linkage= DERIVED_TABLE_TYPE;
table->updatable= 0;
table->effective_with_check= VIEW_CHECK_NONE;
- old_lex->subqueries= TRUE;
table->derived= &lex->unit;
}