• M
    redis-cli: stop showing incorrectly selected DB · 0042fb0e
    Matt Stancliff 提交于
    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 #1313
    
    Fixes #566, #1313
    0042fb0e
redis-cli.c 62.3 KB