mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 09:00:51 +00:00
Minor change to conform PR #3331 to Redis code base style.
Also avoid "static" in order to have symbols during crashes.
This commit is contained in:
parent
a66dd43331
commit
c0ca87dcc0
@ -1457,9 +1457,8 @@ static void zsetKeyReset(RedisModuleKey *key)
|
|||||||
/* Stop a sorted set iteration. */
|
/* Stop a sorted set iteration. */
|
||||||
void RM_ZsetRangeStop(RedisModuleKey *key) {
|
void RM_ZsetRangeStop(RedisModuleKey *key) {
|
||||||
/* Free resources if needed. */
|
/* Free resources if needed. */
|
||||||
if (key->ztype == REDISMODULE_ZSET_RANGE_LEX) {
|
if (key->ztype == REDISMODULE_ZSET_RANGE_LEX)
|
||||||
zslFreeLexRange(&key->zlrs);
|
zslFreeLexRange(&key->zlrs);
|
||||||
}
|
|
||||||
/* Setup sensible values so that misused iteration API calls when an
|
/* Setup sensible values so that misused iteration API calls when an
|
||||||
* iterator is not active will result into something more sensible
|
* iterator is not active will result into something more sensible
|
||||||
* than crashing. */
|
* than crashing. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user