summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorunknown <monty@narttu.mysql.fi>2003-05-15 00:31:32 +0300
committerunknown <monty@narttu.mysql.fi>2003-05-15 00:31:32 +0300
commitb5741508e49827bf7445d7244872c584db80d8c0 (patch)
treef7863d8877b3a084fc924054dac84bfcf6414230 /sql
parent40e4b8d0cb1faf39acbfddc0e30f3e2d209bb4c2 (diff)
parent57edc61b060add0c6d94cb0210643ba87e893874 (diff)
downloadmariadb-git-b5741508e49827bf7445d7244872c584db80d8c0.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
into narttu.mysql.fi:/my/mysql-4.1
Diffstat (limited to 'sql')
-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 0603470d0c6..85ebb9f207f 100644
--- a/sql/sql_select.cc
+++ b/sql/sql_select.cc
@@ -3436,7 +3436,7 @@ static void update_depend_map(JOIN *join)
uint i;
for (i=0 ; i < ref->key_parts ; i++,item++)
depend_map|=(*item)->used_tables();
- ref->depend_map=depend_map & OUTER_REF_TABLE_BIT;
+ ref->depend_map=depend_map & ~OUTER_REF_TABLE_BIT;
depend_map&= ~OUTER_REF_TABLE_BIT;
for (JOIN_TAB **tab=join->map2table;
depend_map ;