redis/tests/unit/type
Yanqi Lv bad33f8738
fix wrong data type conversion in zrangeResultBeginStore (#13148)
In `beginResultEmission`, -1 means the result length is not known in
advance. But after #12185, if we pass -1 to `zrangeResultBeginStore`, it
will convert to SIZE_MAX in `zsetTypeCreate` and try to `dictExpand`.
Although `dictExpand` won't succeed because the size overflows, I think
we'd better to avoid this wrong conversion.

This bug can be triggered when the source of `zrangestore` doesn't exist
or we use `zrangestore` command with `byscore` or `bylex`.
The impact is that dst keys will be converted to use skiplist instead of
listpack.
2024-03-19 08:52:55 +02:00
..
hash.tcl Add INCR type command against wrong argument test cases. (#12836) 2024-01-23 15:39:38 +02:00
incr.tcl Add INCR type command against wrong argument test cases. (#12836) 2024-01-23 15:39:38 +02:00
list-2.tcl Minor improvements for list-2 test (#8156) 2020-12-08 16:26:38 +02:00
list-3.tcl Fix quicklist node not being recompressed correctly after inserting a new node before or after it (#10120) 2022-01-16 08:54:40 +02:00
list-common.tcl Add listpack encoding for list (#11303) 2022-11-16 20:29:46 +02:00
list.tcl Determine the large limit of the quicklist node based on fill (#12659) 2024-02-22 10:02:38 +02:00
set.tcl Reduce performance impact of dict rehashing and make it shorter. (#12899) 2024-01-27 11:11:53 +02:00
stream-cgroups.tcl Fix propagation of entries_read by calling streamPropagateGroupID unconditionally (#12898) 2024-02-29 09:48:20 +02:00
stream.tcl Xread last entry in stream (#7388) (#13117) 2024-03-13 08:23:32 +02:00
string.tcl Add test case for APPEND command usage on integer value (#12429) 2023-07-24 18:25:50 -07:00
zset.tcl fix wrong data type conversion in zrangeResultBeginStore (#13148) 2024-03-19 08:52:55 +02:00