1
0
mirror of https://github.com/redis/go-redis.git synced 2026-10-24 07:59:20 +03:00

3 Commits

Author SHA1 Message Date
Lazizbek Ergashev
5a9916dd5a fix(command): read past error elements in slices (#4137)
Co-authored-by: Nedyalko Dyakov <1547186+ndyakov@users.noreply.github.com>
2026-10-19 21:27:29 +03:00
sadd amr3e
97b7efdeee fix(command): read past error elements in IntSliceCmd (#4071)
* fix(command): read past error elements in IntSliceCmd

TS.MADD and CMS.INCRBY reply with an error element for a rejected item
and keep answering for the items after it. Returning on that element
left the tail of the array unread, and in a pipeline the next command
read it as its own reply.

* docs(command): note per-item errors on TSMAdd/CMSIncrBy

Also move the error-element tests next to the nil-element cases.

---------

Co-authored-by: Nedyalko Dyakov <1547186+ndyakov@users.noreply.github.com>
2026-10-19 15:04:15 +03:00
sadd amr3e
cd92fb727b fix(command): handle nil element in int/uint/bool slice parsers (#3922) 2026-07-27 16:10:36 +03:00