summaryrefslogtreecommitdiff
path: root/sql/sql_select.cc
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2017-04-13 05:52:44 +0400
committerAlexander Barkov <bar@mariadb.org>2017-04-13 05:52:44 +0400
commit949faa2ec24999ce35c558433d5932805542e278 (patch)
tree252877067ef28138a8e29d9b582433ffb5298710 /sql/sql_select.cc
parent012fbc15cfbd34c218ae50f553d2e2e32301da01 (diff)
parenteecce3d7c8a6374342ed7d0cd8844420d8957682 (diff)
downloadmariadb-git-949faa2ec24999ce35c558433d5932805542e278.tar.gz
Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext
Diffstat (limited to 'sql/sql_select.cc')
-rw-r--r--sql/sql_select.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc
index e6cfd923d05..47c03023faa 100644
--- a/sql/sql_select.cc
+++ b/sql/sql_select.cc
@@ -25044,7 +25044,7 @@ void TABLE_LIST::print(THD *thd, table_map eliminated_tables, String *str,
}
else if (derived)
{
- if (!derived->derived->is_with_table())
+ if (!is_with_table())
{
// A derived table
str->append('(');