Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix SISMEMBER should return 0 when key does not exist (#1661)
Because we didn't check for not found, causing SISMEMBER to return an error instead of 0 when the key doesn't exist: ``` 127.0.0.1:6379> SISMEMBER foo bar (integer) 0 127.0.0.1:6666> SISMEMBER foo bar (error) ERR NotFound: ``` I also checked smismember and it's ok. Fixes #1659.
- Loading branch information