#1539 - FIX: Pairs must not be modified by query

Remove the (|| multiValueSupported) part
This commit is contained in:
rob bygrave committed 2018-11-13 23:44:16 +13:00
1 parent 105f08cca1
commit 54a4fd75f1
1 file changed
+2 -2
@@ -48,8 +48,8 @@ class InExpression extends AbstractExpression {
@Override
public boolean naturalKey(NaturalKeyQueryData<?> data) {
// can't use naturalKey cache for NOT IN or if multi values are used
if (not || multiValueSupported) {
// can't use naturalKey cache for NOT IN
if (not) {
return false;
}
List<Object> copy = data.matchIn(propName, bindValues);