mirror of
https://github.com/fluencelabs/redis
synced 2025-04-02 15:51:05 +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
a25fe0b28d
commit
df13adb037
2
src/db.c
2
src/db.c
@ -362,7 +362,7 @@ void scanCommand(redisClient *c) {
|
||||
pat = c->argv[i+1]->ptr;
|
||||
patlen = sdslen(pat);
|
||||
|
||||
/* The pattern is a no-op if == "*" */
|
||||
/* The pattern is a no-op iff == "*" */
|
||||
patnoop = (pat[0] == '*' && patlen == 1);
|
||||
|
||||
i += 2;
|
||||
|
Loading…
x
Reference in New Issue
Block a user