Optimization for unfiltered indexes was incorrect

Description

The code in CKeyCursor::_lookup:

However lastSeg is inclusive - so an unfiltered index read should be comparing against -1.

However that value is never passed, and some of the functions that are called like
SegMonitorList::matchesBuffer will not process it correctly. NOTE: IndexRowFilter::matchesBuffer does support it.

Conclusion

None

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Components

Assignee

Reporter

Priority

Fix versions

Pull Request URL

Created August 4, 2022 at 1:42 PM
Updated September 28, 2022 at 11:37 AM
Resolved September 28, 2022 at 11:37 AM