mirror of
https://github.com/fluencelabs/redis
synced 2025-05-09 17:32:15 +00:00
Revert "Fixed typo in SCAN comment. iff -> if."
Probably here Pieter means "if and only if". This reverts commit 43fdf3b404413f6e3b2c39ac491238c70ecee81c.
This commit is contained in:
parent
5fa5153bf5
commit
854b8be616
2
src/db.c
2
src/db.c
@ -352,7 +352,7 @@ void scanCommand(redisClient *c) {
|
|||||||
pat = c->argv[i+1]->ptr;
|
pat = c->argv[i+1]->ptr;
|
||||||
patlen = sdslen(pat);
|
patlen = sdslen(pat);
|
||||||
|
|
||||||
/* The pattern is a no-op if == "*" */
|
/* The pattern is a no-op iff == "*" */
|
||||||
patnoop = (pat[0] == '*' && patlen == 1);
|
patnoop = (pat[0] == '*' && patlen == 1);
|
||||||
|
|
||||||
i += 2;
|
i += 2;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user