• Binbin's avatar
    Fix multiple COUNT in LMPOP/BLMPOP/ZMPOP/BZMPOP (#9701) · 03357883
    Binbin authored
    The previous code did not check whether COUNT is set.
    So we can use `lmpop 2 key1 key2 left count 1 count 2`.
    
    This situation can occur in LMPOP/BLMPOP/ZMPOP/BZMPOP commands.
    LMPOP/BLMPOP introduced in #9373, ZMPOP/BZMPOP introduced in #9484.
    03357883
t_list.c 42.6 KB