-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDEV-29612 ReadViewBase::snapshot() misses an optimization
ReadViewBase::snapshot(): In case m_low_limit_no==m_low_limit_id and m_ids would include everything between that and m_up_limit_id, set all fields to m_up_limit_id and clear m_ids, to speed up changes_visible() and append(). rw_trx_hash_t::debug_iterator(): Add an assertion.
- Loading branch information
Showing
2 changed files
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters