summaryrefslogtreecommitdiff
path: root/sql/item.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2017-04-06 08:53:59 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2017-04-06 08:53:59 +0300
commit8d4871a95340dc1b9bac67115ddf77f484de41c6 (patch)
treeb6deb55424f4ca86dd779cdd6a708f012d98131f /sql/item.cc
parentcd494f4cefb36faa9e4fa343050a30201d4bdebd (diff)
parent57a699b0a0f3300404948775356d31fb478e80c6 (diff)
downloadmariadb-git-8d4871a95340dc1b9bac67115ddf77f484de41c6.tar.gz
Merge 10.0 into 10.1
Diffstat (limited to 'sql/item.cc')
-rw-r--r--sql/item.cc13
1 files changed, 0 insertions, 13 deletions
diff --git a/sql/item.cc b/sql/item.cc
index 643e5c85df5..859c58587a9 100644
--- a/sql/item.cc
+++ b/sql/item.cc
@@ -7100,19 +7100,6 @@ bool Item_ref::fix_fields(THD *thd, Item **reference)
last_checked_context->select_lex->nest_level);
}
}
- else if (ref_type() != VIEW_REF)
- {
- /*
- It could be that we're referring to something that's in ancestor selects.
- We must make an appropriate mark_as_dependent() call for each such
- outside reference.
- */
- Dependency_marker dep_marker;
- dep_marker.current_select= current_sel;
- dep_marker.thd= thd;
- (*ref)->walk(&Item::enumerate_field_refs_processor, FALSE,
- (uchar*)&dep_marker);
- }
DBUG_ASSERT(*ref);
/*