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

Function getKeysFreeResult

app/redis-6.2.6/src/db.c:1660–1663  ·  view source on GitHub ↗

Free the result of getKeysFromCommand. */

Source from the content-addressed store, hash-verified

1658
1659/* Free the result of getKeysFromCommand. */
1660void getKeysFreeResult(getKeysResult *result) {
1661 if (result && result->keys != result->keysbuf)
1662 zfree(result->keys);
1663}
1664
1665/* Helper function to extract keys from following commands:
1666 * COMMAND [destkey] <num-keys> <key> [...] <key> [...] ... <options>

Callers 5

trackingRememberKeysFunction · 0.85
commandCommandFunction · 0.85
getNodeByQueryFunction · 0.85
ACLCheckCommandPermFunction · 0.85
RM_GetCommandKeysFunction · 0.85

Calls 1

zfreeFunction · 0.70

Tested by

no test coverage detected