You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix to #23990 - Relational: IS (NOT) NULL requires parenthesis when not in left side of an equality
We were generating incorrect sql when comparing bool value to a nullableBool.HasValue. Fix is to add parentheses to the right side when we detect the pattern:
- left side doesn't already have parentheses
- right side is a IS NULL / IS NOT NULL check
- argument to that null check is bool
Note: this is not really an issue for sql server because of search conditions, but sqlite would yield incorrect data for those queries.
Fixes#23990
0 commit comments