• Itamar Haber's avatar
    Fixes LPOP/RPOP wrong replies when count is 0 (#9692) · 968cd2b9
    Itamar Haber authored
    Introduced in #8179, this fixes the command's replies in the 0 count edge case.
    [BREAKING] changes the reply type when count is 0 to an empty array (instead of nil)
    Moves LPOP ... 0 fast exit path after type check to reply with WRONGTYPE
    
    (cherry picked from commit 06dd202a)
    968cd2b9
t_list.c 34.9 KB