• Huang Zhw's avatar
    redis-cli: some commands should bypass history file. (#8895) · 55fa91ae
    Huang Zhw authored
    Currently in redis-cli only AUTH and ACL SETUSER bypass history
    file. We add CONFIG SET masterauth/masteruser/requirepass,
    HELLO with AUTH, MIGRATE with AUTH or AUTH2 to bypass history
    file too.
    
    The drawback is HELLO and MIGRATE's code is a mess. Someday if
    we change these commands, we have to change here too.
    55fa91ae
redis-cli.c 312 KB