• Matt Stancliff's avatar
    redis-cli: Re-attach selected DB after auth · 28b54b5d
    Matt Stancliff authored
    Previously, if you did SELECT then AUTH, redis-cli
    would show your SELECT'd db even though it didn't
    happen.
    
    Note: running into this situation is a (hopefully) very limited
    used case of people using multiple DBs and AUTH all at the same
    time.
    
    Fixes antirez#1639
    28b54b5d
redis-cli.c 62.1 KB