Merge branch 'add_asyncFreeDictTable_to_diagnostic_tool' into 'keydbpro'

add asyncFreeDictTable tokeydb-diagnostic-tool.cpp to avoid linker error

See merge request keydb-dev/KeyDB-Pro!32

Former-commit-id: 0a253222359454f233b82c8aaff7c2d9ab57e571
This commit is contained in:
Malavan Sotheeswaran 2021-08-16 22:44:43 +00:00
commit 1271e74f2b

View File

@ -211,6 +211,11 @@ extern "C" void _serverAssert(const char *estr, const char *file, int line) {
*((char*)-1) = 'x';
}
/* asyncFreeDictTable is needed by dict */
extern "C" void asyncFreeDictTable(struct dictEntry **de) {
zfree(de);
}
static redisContext *getRedisContext(const char *ip, int port,
const char *hostsocket)
{