mirror of
https://github.com/fluencelabs/redis
synced 2025-06-20 04:26:31 +00:00
COW friendly versions of SPOP and SRANDMEMBER commands, with some change to the set encoding-agnostic API.
This commit is contained in:
@ -179,7 +179,7 @@ intset *intsetAdd(intset *is, int64_t value, uint8_t *success) {
|
||||
}
|
||||
|
||||
/* Delete integer from intset */
|
||||
intset *intsetRemove(intset *is, int64_t value, uint8_t *success) {
|
||||
intset *intsetRemove(intset *is, int64_t value, int *success) {
|
||||
uint8_t valenc = _intsetValueEncoding(value);
|
||||
uint32_t pos;
|
||||
if (success) *success = 0;
|
||||
|
Reference in New Issue
Block a user