Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The `addEquivalency` method wasn't properly handling the case when one of the columns is constant. This causes the other column to become constant, and thus it needs to be removed from all weak keys. Adding a test designed to catch the general class of bugs where a mutation causes the invariants to be invalidated; verified that it catches the problem. Fixes #24500. Release note (bug fix): Fixed a crash caused by a WHERE condition that requires a column to equal a specific value and at the same time equal another column.
- Loading branch information
1 parent
2175975
commit b5554ee
Showing
3 changed files
with
75 additions
and
12 deletions.
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
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