MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / unwatchCommand

Function unwatchCommand

src/multi.cpp:444–449  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

442}
443
444void unwatchCommand(client *c) {
445 unwatchAllKeys(c);
446 serverAssert(GlobalLocksAcquired());
447 c->flags &= (~CLIENT_DIRTY_CAS);
448 addReply(c,shared.ok);
449}

Callers

nothing calls this directly

Calls 3

unwatchAllKeysFunction · 0.85
GlobalLocksAcquiredFunction · 0.85
addReplyFunction · 0.85

Tested by

no test coverage detected