mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-19195 Active Record unit test fails with MariaDB 10.4.3
Currently usage of range rowid filters can be combined only with ref access and single index range access. So if the optimizer has chosen some other quick select method to access a joined table then no range rowid filter can be used for this table.
This commit is contained in:
committed by
Sergei Golubchik
parent
d9d79e4d01
commit
645f77a6bc
@ -7815,6 +7815,10 @@ best_access_path(JOIN *join,
|
||||
DBUG_ASSERT(tmp >= 0);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
best_filter= 0;
|
||||
}
|
||||
|
||||
loose_scan_opt.check_range_access(join, idx, s->quick);
|
||||
}
|
||||
|
Reference in New Issue
Block a user