mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 08:08:53 -05:00
redis-benchmark: fix wrong random key for hset (#4895)
This commit is contained in:
parent
28a8465102
commit
ff1e4a7063
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user