[#8197] Row[N].isDistinctFrom(T1, ..., TN) and others do not work correctly when passing null values

This commit is contained in:
lukaseder 2019-01-10 14:13:57 +01:00
parent d24cbccf26
commit d7801fdef1

View File

@ -1524,7 +1524,7 @@ final class Tools {
return EMPTY_FIELD;
int length = Math.min(values.length, fields.length);
Field<?>[] result = new Field[0];
Field<?>[] result = new Field[length];
for (int i = 0; i < length; i++)
result[i] = field(values[i], fields[i]);