Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
43269984
Commit
43269984
authored
Jan 20, 2017
by
Salvatore Sanfilippo
Committed by
GitHub
Jan 20, 2017
Browse files
Merge pull request #3712 from oranagra/fix_assert_debug_digest
fix rare assertion in DEBUG DIGEST
parents
17ac46ea
b2da5ea7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/debug.c
View file @
43269984
...
@@ -126,7 +126,7 @@ void computeDatasetDigest(unsigned char *final) {
...
@@ -126,7 +126,7 @@ void computeDatasetDigest(unsigned char *final) {
redisDb
*
db
=
server
.
db
+
j
;
redisDb
*
db
=
server
.
db
+
j
;
if
(
dictSize
(
db
->
dict
)
==
0
)
continue
;
if
(
dictSize
(
db
->
dict
)
==
0
)
continue
;
di
=
dictGetIterator
(
db
->
dict
);
di
=
dictGet
Safe
Iterator
(
db
->
dict
);
/* hash the DB id, so the same dataset moved in a different
/* hash the DB id, so the same dataset moved in a different
* DB will lead to a different digest */
* DB will lead to a different digest */
...
...
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