if {[$r zcard $k] == 0} {
set aux {}
} else {
- set aux [::sha1::sha1 -hex [$r zrange $k 0 -1]]
+ set aux [::sha1::sha1 -hex [$r zrange $k 0 -1 withscores]]
}
} {hash} {
if {[$r hlen $k] == 0} {
test {INCR fails against a key holding a list} {
$r rpush mylist 1
- catch {$r incr novar} err
+ catch {$r incr mylist} err
$r rpop mylist
format $err
} {ERR*}