mirror of
https://github.com/fluencelabs/redis
synced 2025-03-31 14:51:04 +00:00
DISCSARD now unwatches all keys, as it should
This commit is contained in:
parent
ab193fe452
commit
a26452263f
1
redis.c
1
redis.c
@ -7918,6 +7918,7 @@ static void discardCommand(redisClient *c) {
|
||||
freeClientMultiState(c);
|
||||
initClientMultiState(c);
|
||||
c->flags &= (~REDIS_MULTI);
|
||||
unwatchAllKeys(c);
|
||||
addReply(c,shared.ok);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user