Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
128e89dd
Commit
128e89dd
authored
May 12, 2010
by
antirez
Browse files
use withscores when performing the dataset digest
parent
8c096b16
Changes
1
Show whitespace changes
Inline
Side-by-side
test-redis.tcl
View file @
128e89dd
...
...
@@ -214,7 +214,7 @@ proc datasetDigest r {
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} {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment