Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix GEOSEARCH/GEOSEARCHSTORE FROMMEMBER against non existing src key …
…reply (#1625) The new GEOSEARCH and GEOSEARCHSTORE commands were added in #1533. When typing the FROMMEMBER option against non-existing src key, an IsNotFound error is returned and resulting in the following inconsistency: ``` 127.0.0.1:6666> GEOSEARCH src FROMMEMBER Shenzhen BYBOX 88 88 m (error) ERR NotFound: 127.0.0.1:6666> GEOSEARCHSTORE dst src FROMMEMBER Shenzhen BYBOX 88 88 m (error) ERR NotFound: 127.0.0.1:6379> GEOSEARCH src FROMMEMBER Shenzhen BYBOX 88 88 m (empty array) 127.0.0.1:6379> GEOSEARCHSTORE dst src FROMMEMBER Shenzhen BYBOX 88 88 m (integer) 0 ```
- Loading branch information