See previous function comment. */
| 2610 | |
| 2611 | /* See previous function comment. */ |
| 2612 | int moduleZsetAddFlagsFromCoreFlags(int flags) { |
| 2613 | int retflags = 0; |
| 2614 | if (flags & ZADD_OUT_ADDED) retflags |= REDISMODULE_ZADD_ADDED; |
| 2615 | if (flags & ZADD_OUT_UPDATED) retflags |= REDISMODULE_ZADD_UPDATED; |
| 2616 | if (flags & ZADD_OUT_NOP) retflags |= REDISMODULE_ZADD_NOP; |
| 2617 | return retflags; |
| 2618 | } |
| 2619 | |
| 2620 | /* Add a new element into a sorted set, with the specified 'score'. |
| 2621 | * If the element already exists, the score is updated. |
no outgoing calls
no test coverage detected