mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
MDEV-30395 Wrong result with semijoin and Federated as outer table
The problem was that federated engine does not support comparable rowids which was not taken into account by semijoin code. Fixed by checking that we don't use semijoin with tables that does not support comparable rowids. Other things: - Fixed some typos in the code comments
This commit is contained in:
@ -2309,7 +2309,7 @@ JOIN::optimize_inner()
|
||||
/*
|
||||
We have to remove constants and duplicates from group_list before
|
||||
calling make_join_statistics() as this may call get_best_group_min_max()
|
||||
which needs a simplfied group_list.
|
||||
which needs a simplified group_list.
|
||||
*/
|
||||
if (group_list && table_count == 1)
|
||||
{
|
||||
|
Reference in New Issue
Block a user