Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix issue 7784. Remove extraneous IS NOT NULL checks on equals compa… #7804

Closed
wants to merge 1 commit into from

Conversation

pmiddleton
Copy link
Contributor

This fixes issue #7784.

RelationalNullsExpandingVisitor was adding an extra IS NOT NULL check when an equals comparison was performed on a nullable column. That check is only needed if a not equals comparison is being performed, or if NOT logic is involved on any of the parameters.

@dnfclas
Copy link

dnfclas commented Mar 7, 2017

@pmiddleton,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

@smitpatel smitpatel requested a review from maumar March 7, 2017 19:25
@pmiddleton pmiddleton force-pushed the fix7784 branch 2 times, most recently from c718d11 to 2a15ce8 Compare March 11, 2017 18:55
@maumar
Copy link
Contributor

maumar commented Mar 16, 2017

Merged in 42e8bbe, thank you for the contribution!

@maumar maumar closed this Mar 16, 2017
@pmiddleton pmiddleton deleted the fix7784 branch March 16, 2017 03:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants