Commit a79b84ab authored by artix's avatar artix
Browse files

Redis benchmark: fix default hset test key

parent 4e78d5cd
...@@ -1634,7 +1634,7 @@ int main(int argc, const char **argv) { ...@@ -1634,7 +1634,7 @@ int main(int argc, const char **argv) {
if (test_is_selected("hset")) { if (test_is_selected("hset")) {
len = redisFormatCommand(&cmd, len = redisFormatCommand(&cmd,
"HSET myset:{tag}:__rand_int__ element:__rand_int__ %s",data); "HSET myhash:{tag}:__rand_int__ element:__rand_int__ %s",data);
benchmark("HSET",cmd,len); benchmark("HSET",cmd,len);
free(cmd); 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