• Itamar Haber's avatar
    Fixes LPOP/RPOP wrong replies when count is 0 (#9692) · 06dd202a
    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
    06dd202a
t_list.c 41.9 KB