mirror of
https://github.com/redis/redis.git
synced 2026-03-18 08:43:03 -04:00
Ziplist encoding now tested with negative integers as well.
This commit is contained in:
parent
0a8a1e78dc
commit
69b30cfcb6
1 changed files with 9 additions and 0 deletions
|
|
@ -29,6 +29,15 @@ start_server {
|
|||
set data [randomInt 4294967296]
|
||||
} {
|
||||
set data [randomInt 18446744073709551616]
|
||||
} {
|
||||
set data -[randomInt 65536]
|
||||
if {$data eq {-0}} {set data 0}
|
||||
} {
|
||||
set data -[randomInt 4294967296]
|
||||
if {$data eq {-0}} {set data 0}
|
||||
} {
|
||||
set data -[randomInt 18446744073709551616]
|
||||
if {$data eq {-0}} {set data 0}
|
||||
}
|
||||
lappend l $data
|
||||
r rpush l $data
|
||||
|
|
|
|||
Loading…
Reference in a new issue