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

[SMALL] Fix to #21164 - Error translating Contains expression when UseRelationalNulls(true) #21186

Merged
merged 1 commit into from
Jun 9, 2020

Conversation

maumar
Copy link
Contributor

@maumar maumar commented Jun 9, 2020

Correctly processing values expression for the relational nulls code path

Fixes #21164

@maumar maumar requested a review from a team June 9, 2020 07:02
@@ -557,14 +557,16 @@ protected virtual SqlExpression VisitIn([NotNull] InExpression inExpression, boo
if (UseRelationalNulls
|| !(inExpression.Values is SqlConstantExpression || inExpression.Values is SqlParameterExpression))
{
var values = Visit(inExpression.Values, out _);
var (valuesExpression, valuesList, _) = ProcessInExpressionValues(inExpression.Values, extractNullValues: false);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

update comment above.

…nalNulls(true)

Correctly processing values expression for the relational nulls code path

Fixes #21164
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.

Error translating Contains expression when UseRelationalNulls(true)
2 participants