projects
/
redis.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Properly free encoded sorted set
[redis.git]
/
src
/
redis-benchmark.c
diff --git
a/src/redis-benchmark.c
b/src/redis-benchmark.c
index 407c7fb489a3991be870861aaed1e6090e6afd7b..618d9c030a8e761956514f070b305c861bd9eb86 100644
(file)
--- a/
src/redis-benchmark.c
+++ b/
src/redis-benchmark.c
@@
-143,7
+143,7
@@
static void randomizeClientKey(client c) {
for (i = 0; i < c->randlen; i++) {
r = random() % config.randomkeys_keyspacelen;
- snprintf(buf,sizeof(buf),"%012
l
u",r);
+ snprintf(buf,sizeof(buf),"%012
z
u",r);
memcpy(c->randptr[i],buf,12);
}
}