Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
57235: opt: make checking indexRejectFlags in scanIndexIter safer r=rytaft a=mgartner Previously, `scanIndexIter.hasRejectFlag` had confusing behavior if it were ever called with multiple flags. It would return true if any of the given flags had been set. It caused no issues because it's currently called only with a single flag as an argument, but could lead to confusion later. This commit renames the function to `hasRejectFlags` which returns true if ALL of the given flags are set. Release note: None Co-authored-by: Marcus Gartner <[email protected]>
- Loading branch information