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:
@ -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 ;
|
||||
|
Reference in New Issue
Block a user