]> git.saurik.com Git - redis.git/commitdiff
increment dirty counter after hmset
authorPieter Noordhuis <pcnoordhuis@gmail.com>
Sat, 17 Apr 2010 10:35:22 +0000 (12:35 +0200)
committerPieter Noordhuis <pcnoordhuis@gmail.com>
Sat, 17 Apr 2010 10:35:22 +0000 (12:35 +0200)
redis.c

diff --git a/redis.c b/redis.c
index 75159e4ec3b6ea83ace0713581f9aac0cffd625f..e272b89ed15d88b13fa0f4fb4911112cee23ad91 100644 (file)
--- 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) {