Unverified Commit ff1e4a70 authored by zhaozhao.zz's avatar zhaozhao.zz Committed by GitHub
Browse files

redis-benchmark: fix wrong random key for hset (#4895)

parent 28a84651
......@@ -1723,7 +1723,7 @@ int main(int argc, const char **argv) {
if (test_is_selected("hset")) {
len = redisFormatCommand(&cmd,
"HSET myhash:{tag}:__rand_int__ element:__rand_int__ %s",data);
"HSET myhash:{tag} element:__rand_int__ %s",data);
benchmark("HSET",cmd,len);
free(cmd);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment