mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +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:
@ -356,9 +356,9 @@ enum chf_create_flags {
|
||||
Rowid's are not comparable. This is set if the rowid is unique to the
|
||||
current open handler, like it is with federated where the rowid is a
|
||||
pointer to a local result set buffer. The effect of having this set is
|
||||
that the optimizer will not consirer the following optimizations for
|
||||
that the optimizer will not consider the following optimizations for
|
||||
the table:
|
||||
ror scans or filtering
|
||||
ror scans, filtering or duplicate weedout
|
||||
*/
|
||||
#define HA_NON_COMPARABLE_ROWID (1ULL << 60)
|
||||
|
||||
|
Reference in New Issue
Block a user