This repository has been archived by the owner on Jul 11, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
redis-cli: stop showing incorrectly selected DB
Previously redis-cli would happily show "-1" or "99999" as valid DB choices. Now, if the SELECT call returned an error, we don't update the DB number in the CLI. Inspired by @anupshendkar in redis#1313 Fixes redis#566, redis#1313
- Loading branch information