Commit a2645226 authored by antirez's avatar antirez
Browse files

DISCSARD now unwatches all keys, as it should

parent ab193fe4
......@@ -7918,6 +7918,7 @@ static void discardCommand(redisClient *c) {
freeClientMultiState(c);
initClientMultiState(c);
c->flags &= (~REDIS_MULTI);
unwatchAllKeys(c);
addReply(c,shared.ok);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment