From: Pieter Noordhuis <pcnoordhuis@gmail.com>
Date: Sat, 17 Apr 2010 10:35:22 +0000 (+0200)
Subject: increment dirty counter after hmset
X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/edc2f63ad9c961e54a10f27a44a4b64868160eaa

increment dirty counter after hmset
---

diff --git a/redis.c b/redis.c
index 75159e4e..e272b89e 100644
--- a/redis.c
+++ b/redis.c
@@ -6294,6 +6294,7 @@ static void hmsetCommand(redisClient *c) {
         hashSet(o,c->argv[i],c->argv[i+1]);
     }
     addReply(c, shared.ok);
+    server.dirty++;
 }
 
 static void hincrbyCommand(redisClient *c) {