Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
0b1d89d7
Unverified
Commit
0b1d89d7
authored
Nov 22, 2020
by
xindoo
Committed by
GitHub
Nov 22, 2020
Browse files
fix comment error about zslDeleteRangeByScore range (#8075)
Co-authored-by:
Oran Agra
<
oran@redislabs.com
>
parent
08d3e929
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/t_zset.c
View file @
0b1d89d7
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment