diff options
author | Itamar Haber <itamar@garantiadata.com> | 2021-11-04 09:43:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-04 09:43:08 +0200 |
commit | 06dd202a051a6788ebb2e13cd4603ffbf7e6dbd0 (patch) | |
tree | dd5492d1138cb52c4952dfd6b757006920204aba /tests/cluster | |
parent | ccf8a651f363f62c415e352bc4072e3756e0f197 (diff) | |
download | redis-06dd202a051a6788ebb2e13cd4603ffbf7e6dbd0.tar.gz |
Fixes LPOP/RPOP wrong replies when count is 0 (#9692)
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
Diffstat (limited to 'tests/cluster')
0 files changed, 0 insertions, 0 deletions