Duplicate
Details
Assignee
Alex ZaytsevAlex ZaytsevReporter
SÿlSÿlLabels
Components
Affects versions
Priority
MajorWho's Looking?
Open Who's Looking?
Details
Details
Assignee
Alex Zaytsev
Alex ZaytsevReporter
Sÿl
SÿlLabels
Components
Affects versions
Priority
Who's Looking?
Open Who's Looking?
Created April 23, 2015 at 2:16 PM
Updated July 9, 2015 at 4:24 AM
Resolved July 9, 2015 at 4:24 AM
We've had a situation here where we were trying to make linq queries on a "constant" parameter which could change regarding the end user situation.
The query was exactuted nicely, although, the query plan cache was considering it was the same query even when that query was changing.
We patched 4.0.3 with those 3 lines of ExpressionParameterVisitor to make the cache dependent of the constant value.
And we propose you to integrate this (git) patch