mirror of
https://github.com/fluencelabs/redis
synced 2025-03-18 08:30:51 +00:00
dict.c: reset emptylen when bucket is not empty.
Fixed by @oranagra, thank you.
This commit is contained in:
parent
edda00b902
commit
8ddc14523f
@ -811,6 +811,7 @@ unsigned int dictGetSomeKeys(dict *d, dictEntry **des, unsigned int count) {
|
||||
emptylen = 0;
|
||||
}
|
||||
} else {
|
||||
emptylen = 0;
|
||||
while (he) {
|
||||
/* Collect all the elements of the buckets found non
|
||||
* empty while iterating. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user