| 2917 | } |
| 2918 | |
| 2919 | static void zrangeResultEmitLongLongToClient(zrange_result_handler *handler, |
| 2920 | long long value, double score) |
| 2921 | { |
| 2922 | if (handler->should_emit_array_length) { |
| 2923 | addReplyArrayLen(handler->client, 2); |
| 2924 | } |
| 2925 | |
| 2926 | addReplyBulkLongLong(handler->client, value); |
| 2927 | |
| 2928 | if (handler->withscores) { |
| 2929 | addReplyDouble(handler->client, score); |
| 2930 | } |
| 2931 | } |
| 2932 | |
| 2933 | static void zrangeResultFinalizeClient(zrange_result_handler *handler, |
| 2934 | size_t result_count) |
nothing calls this directly
no test coverage detected