Binbin 0be66e4ebe ZRANDMEMBER WITHSCORES with negative COUNT may return bad score (#9162)
Return a bad score when used with negative count (or count of 1), and non-ziplist encoded zset.
Also add test to validate the return value and cover the issue.

(cherry picked from commit 4bc5a8324d3cb23ed2cc8a9cd19444a893a6d52c)
2021-07-21 21:06:49 +03:00
..
2020-03-23 12:02:12 +01:00
2016-06-15 11:49:49 +02:00
2021-01-23 21:53:58 +02:00
2021-02-04 19:39:07 +02:00
2015-10-09 09:47:17 +02:00
2010-10-15 12:54:53 +02:00
2021-01-17 15:48:48 +02:00
2021-01-17 15:48:48 +02:00