]> git.saurik.com Git - redis.git/blobdiff - src/t_string.c
Fix for bug 561 and other related problems
[redis.git] / src / t_string.c
index ca3f564cf034f59d518312c4c8d62181cecf32fa..e0b9b263dc11e81939258555bd9248066b849660 100644 (file)
@@ -73,7 +73,6 @@ void getsetCommand(redisClient *c) {
     c->argv[2] = tryObjectEncoding(c->argv[2]);
     setKey(c->db,c->argv[1],c->argv[2]);
     server.dirty++;
-    removeExpire(c->db,c->argv[1]);
 }
 
 static int getBitOffsetFromArgument(redisClient *c, robj *o, size_t *offset) {