summaryrefslogtreecommitdiff
path: root/sql/sql_lex.cc
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2013-02-28 22:47:29 +0100
committerSergei Golubchik <sergii@pisem.net>2013-02-28 22:47:29 +0100
commit213f1c76a038ad0e6111cd5eb6b0da9b4b9dc45a (patch)
tree79e9a941a078d73ce85da0241871a863fa4eca38 /sql/sql_lex.cc
parentcfa94b4338b5dd5578436df0402b2f2210de3eaa (diff)
parentc4341d50950224bb4e976fd1aac23dddc7d78f71 (diff)
downloadmariadb-git-213f1c76a038ad0e6111cd5eb6b0da9b4b9dc45a.tar.gz
5.3->5.5 merge
Diffstat (limited to 'sql/sql_lex.cc')
-rw-r--r--sql/sql_lex.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc
index b3ee0636bd7..583aee6bc00 100644
--- a/sql/sql_lex.cc
+++ b/sql/sql_lex.cc
@@ -3856,7 +3856,8 @@ void SELECT_LEX::update_used_tables()
{
for (ORDER *order= order_list.first; order; order= order->next)
(*order->item)->update_used_tables();
- }
+ }
+ join->result->update_used_tables();
}