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

Function clusterManagerStartTransaction

app/redis-6.2.6/src/redis-cli.c:2780–2785  ·  view source on GitHub ↗

Call MULTI command on a cluster node. */

Source from the content-addressed store, hash-verified

2778
2779/* Call MULTI command on a cluster node. */
2780static int clusterManagerStartTransaction(clusterManagerNode *node) {
2781 redisReply *reply = CLUSTER_MANAGER_COMMAND(node, "MULTI");
2782 int success = clusterManagerCheckRedisReply(node, reply, NULL);
2783 if (reply) freeReplyObject(reply);
2784 return success;
2785}
2786
2787/* Call EXEC command on a cluster node. */
2788static int clusterManagerExecTransaction(clusterManagerNode *node,

Callers 1

Calls 2

freeReplyObjectFunction · 0.85

Tested by

no test coverage detected