]> git.saurik.com Git - redis.git/blobdiff - benchmark.c
RubyRedis: now sets are returned as arrays again, and not as Set objects
[redis.git] / benchmark.c
index 38e854102fa67ca0dd20c4813fb8dffe5704a519..7d4c844d5218a82742ff272c74686d50f7f583f6 100644 (file)
@@ -28,6 +28,8 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
+#include "fmacros.h"
+
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
@@ -137,6 +139,7 @@ static void resetClient(client c) {
     c->written = 0;
     c->state = CLIENT_SENDQUERY;
     c->start = mstime();
+    createMissingClients(c);
 }
 
 static void randomizeClientKey(client c) {