fix comment error about zslDeleteRangeByScore range (#8075)
Co-authored-by: Oran Agra <oran@redislabs.com>
This commit is contained in:
parent
08d3e929e5
commit
0b1d89d7ae
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user