mirror of
https://github.com/fluencelabs/redis
synced 2025-03-18 16:40:50 +00:00
Aesthetic fix (missing space) into HSCAN and ZSCAN implementations.
Thanks to @badboy for reporting.
This commit is contained in:
parent
2c643ffa8d
commit
9b2d44e63f
@ -763,7 +763,7 @@ void hexistsCommand(redisClient *c) {
|
||||
void hscanCommand(redisClient *c) {
|
||||
robj *o;
|
||||
|
||||
if ((o= lookupKeyReadOrReply(c,c->argv[1],shared.emptyscan)) == NULL ||
|
||||
if ((o = lookupKeyReadOrReply(c,c->argv[1],shared.emptyscan)) == NULL ||
|
||||
checkType(c,o,REDIS_HASH)) return;
|
||||
scanGenericCommand(c,o);
|
||||
}
|
||||
|
@ -2211,7 +2211,7 @@ void zrevrankCommand(redisClient *c) {
|
||||
void zscanCommand(redisClient *c) {
|
||||
robj *o;
|
||||
|
||||
if ((o= lookupKeyReadOrReply(c,c->argv[1],shared.emptyscan)) == NULL ||
|
||||
if ((o = lookupKeyReadOrReply(c,c->argv[1],shared.emptyscan)) == NULL ||
|
||||
checkType(c,o,REDIS_ZSET)) return;
|
||||
scanGenericCommand(c,o);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user