提交 07ac2daa 编写于 作者: S Salvatore Sanfilippo

Merge pull request #209 from woowenjie/unstable

clean REDIS_DIRTY_CAS when discard Command runs. otherwise the next MULT...
......@@ -57,7 +57,7 @@ void discardCommand(redisClient *c) {
freeClientMultiState(c);
initClientMultiState(c);
c->flags &= (~REDIS_MULTI);
c->flags &= ~(REDIS_MULTI|REDIS_DIRTY_CAS);;
unwatchAllKeys(c);
addReply(c,shared.ok);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册