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

Function initClientMultiState

src/multi.cpp:36–41  ·  view source on GitHub ↗

Client state initialization for MULTI/EXEC */

Source from the content-addressed store, hash-verified

34
35/* Client state initialization for MULTI/EXEC */
36void initClientMultiState(client *c) {
37 c->mstate.commands = NULL;
38 c->mstate.count = 0;
39 c->mstate.cmd_flags = 0;
40 c->mstate.cmd_inv_flags = 0;
41}
42
43/* Release all the resources associated with MULTI/EXEC state */
44void freeClientMultiState(client *c) {

Callers 3

discardTransactionFunction · 0.85
createClientFunction · 0.85
createAOFClientFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected