Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
9b2d44e6
Commit
9b2d44e6
authored
Oct 28, 2013
by
antirez
Browse files
Aesthetic fix (missing space) into HSCAN and ZSCAN implementations.
Thanks to @badboy for reporting.
parent
2c643ffa
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/t_hash.c
View file @
9b2d44e6
...
...
@@ -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
);
}
src/t_zset.c
View file @
9b2d44e6
...
...
@@ -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
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment