1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Fixed new bug in ORDER BY

This commit is contained in:
monty@narttu.mysql.fi
2003-05-15 00:31:12 +03:00
parent 60dfb25be3
commit 04004534ea
5 changed files with 26 additions and 18 deletions

View File

@ -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 ;