sorted set bug fix and unit tests

This commit is contained in:
hdt3213
2020-08-30 21:04:58 +08:00
parent d12a41374b
commit a806f8e64f
6 changed files with 352 additions and 3 deletions

View File

@@ -272,7 +272,6 @@ func (skiplist *skiplist) getLastInScoreRange(min *ScoreBorder, max *ScoreBorder
n = n.level[level].forward
}
}
n = n.level[0].forward
if !min.less(n.Score) {
return nil
}