We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 43b35a4 + 9eaf147 commit 2552b29Copy full SHA for 2552b29
redis_array.c
@@ -876,7 +876,10 @@ PHP_METHOD(RedisArray, mget)
876
877
/* calls */
878
for(n = 0; n < ra->count; ++n) { /* for each node */
879
- /* copy args for MGET call on node. */
+ /* We don't even need to make a call to this node if no keys go there */
880
+ if(!argc_each[n]) continue;
881
+
882
+ /* copy args for MGET call on node. */
883
MAKE_STD_ZVAL(z_argarray);
884
array_init(z_argarray);
885
0 commit comments