MCPcopy Create free account
hub / github.com/F-Stack/f-stack / initClientMultiState

Function initClientMultiState

app/redis-6.2.6/src/multi.c:35–40  ·  view source on GitHub ↗

Client state initialization for MULTI/EXEC */

Source from the content-addressed store, hash-verified

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

Callers 3

discardTransactionFunction · 0.85
createClientFunction · 0.85
createAOFClientFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected