fix comment error about zslDeleteRangeByScore range (#8075)

Co-authored-by: Oran Agra <oran@redislabs.com>
This commit is contained in:
xindoo 2020-11-22 20:56:45 +08:00 committed by GitHub
parent 08d3e929e5
commit 0b1d89d7ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -377,7 +377,8 @@ zskiplistNode *zslLastInRange(zskiplist *zsl, zrangespec *range) {
} }
/* Delete all the elements with score between min and max from the skiplist. /* Delete all the elements with score between min and max from the skiplist.
* Min and max are inclusive, so a score >= min || score <= max is deleted. * Both min and max can be inclusive or exclusive (see range->minex and
* range->maxex). When inclusive a score >= min && score <= max is deleted.
* Note that this function takes the reference to the hash table view of the * Note that this function takes the reference to the hash table view of the
* sorted set, in order to remove the elements from the hash table too. */ * sorted set, in order to remove the elements from the hash table too. */
unsigned long zslDeleteRangeByScore(zskiplist *zsl, zrangespec *range, dict *dict) { unsigned long zslDeleteRangeByScore(zskiplist *zsl, zrangespec *range, dict *dict) {