#869 - Clash on bind hash value for query cache with consecutive values of "01","20" and "02", "10"

This commit is contained in:
Rob Bygrave
2016-11-07 23:47:29 +13:00
parent 5cf5629232
commit 376cb9ebcb
10 changed files with 12 additions and 13 deletions
@@ -119,9 +119,9 @@ class InExpression extends AbstractExpression {
@Override
public int queryBindHash() {
int hc = 31;
int hc = 92821;
for (int i = 0; i < bindValues.length; i++) {
hc = 31 * hc + bindValues[i].hashCode();
hc = 92821 * hc + bindValues[i].hashCode();
}
return hc;
}