mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
join_outer.result, join_outer.test:
Added a test case for bug #11285. sql_select.cc: Fixed bug #11285. The problem occurred with Item_equal in an 'on expression' that was evaluated to false. sql/sql_select.cc: Fixed bug #11285. The problem occurred with Item_equal in an 'on expression' that was evaluated to false. mysql-test/t/join_outer.test: Added a test case for bug #11285. mysql-test/r/join_outer.result: Added a test case for bug #11285.
This commit is contained in:
@ -7064,7 +7064,7 @@ static COND* substitute_for_best_equal_field(COND *cond,
|
||||
List_iterator_fast<Item_equal> it(cond_equal->current_level);
|
||||
while ((item_equal= it++))
|
||||
{
|
||||
eliminate_item_equal(cond, cond_equal->upper_levels, item_equal);
|
||||
cond= eliminate_item_equal(cond, cond_equal->upper_levels, item_equal);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user