From edc2f63ad9c961e54a10f27a44a4b64868160eaa Mon Sep 17 00:00:00 2001
From: Pieter Noordhuis <pcnoordhuis@gmail.com>
Date: Sat, 17 Apr 2010 12:35:22 +0200
Subject: [PATCH] increment dirty counter after hmset

---
 redis.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/redis.c b/redis.c
index 75159e4ec..e272b89ed 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) {