Unverified Commit 0b1d89d7 authored by xindoo's avatar xindoo Committed by GitHub
Browse files

fix comment error about zslDeleteRangeByScore range (#8075)


Co-authored-by: default avatarOran Agra <oran@redislabs.com>
parent 08d3e929
...@@ -377,7 +377,8 @@ zskiplistNode *zslLastInRange(zskiplist *zsl, zrangespec *range) { ...@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment