mirror of
https://github.com/redis/redis.git
synced 2026-04-15 14:30:06 -04:00
It used to return `$-1` in RESP2, now we will return `*-1`. This is a bug in redis 6.2 when COUNT was added, the `COUNT` option was introduced in #8179. Fix #10089. the documentation of [LPOP](https://redis.io/commands/lpop) says ``` When called without the count argument: Bulk string reply: the value of the first element, or nil when key does not exist. When called with the count argument: Array reply: list of popped elements, or nil when key does not exist. ``` |
||
|---|---|---|
| .. | ||
| hash.tcl | ||
| incr.tcl | ||
| list-2.tcl | ||
| list-3.tcl | ||
| list-common.tcl | ||
| list.tcl | ||
| set.tcl | ||
| stream-cgroups.tcl | ||
| stream.tcl | ||
| string.tcl | ||
| zset.tcl | ||