diff options
author | unknown <timour@mysql.com> | 2005-09-30 10:39:17 +0300 |
---|---|---|
committer | unknown <timour@mysql.com> | 2005-09-30 10:39:17 +0300 |
commit | 68a91293ebced766717bb2d602f4fdaa21e94bef (patch) | |
tree | cf60ca955291df1e3cd5b1f770e6ef55491d1c98 /strings/my_strtoll10.c | |
parent | 3a806cd674deca9288f7555c03172afa4ada01ac (diff) | |
download | mariadb-git-68a91293ebced766717bb2d602f4fdaa21e94bef.tar.gz |
Fix for BUG#13597 - columns in ON condition not resolved if references a table in a nested right join.
The problem was in that when finding the last table reference in a nested join tree,
the procedure doing the iteration over the right-most branches of a join tree
was testing for RIGHT JOINs the table reference that represents the join, and not
the second operand of the JOIN. Currently the information whether a join is LEFT/RIGHT
is stored not on the join object itself, but on one of its operands.
mysql-test/r/select.result:
Added test for BUG#13597
mysql-test/t/select.test:
Added test for BUG#13597
sql/table.cc:
- test whether a table reference is a right join by testing the
rigth join operand (first in the list of operands), and not
the table reference that represents the join itself.
- clearer comments
Diffstat (limited to 'strings/my_strtoll10.c')
0 files changed, 0 insertions, 0 deletions