fix incorrect hash bug

This commit is contained in:
Larry955
2023-06-22 02:42:49 +00:00
committed by ob-robot
parent bfbea484a0
commit 167bfe4650

View File

@ -195,7 +195,7 @@ struct InParamValsWrapper
{ {
uint64_t hash_code = 0; uint64_t hash_code = 0;
for (int64_t i = 0; i < param_vals_.count(); ++i) { for (int64_t i = 0; i < param_vals_.count(); ++i) {
hash_code = common::murmurhash(&param_vals_.at(i), sizeof(param_vals_.at(i)), hash_code); hash_code = param_vals_.at(i).hash(hash_code);
} }
return hash_code; return hash_code;
} }