add asyncFreeDictTable tokeydb-diagnostic-tool.cpp to avoid linker error
Former-commit-id: 6b1509932f592ffffb9dd5d06de7f313d44e4394
This commit is contained in:
parent
67ffa578d7
commit
27b7f22b52
@ -211,6 +211,11 @@ extern "C" void _serverAssert(const char *estr, const char *file, int line) {
|
|||||||
*((char*)-1) = 'x';
|
*((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,
|
static redisContext *getRedisContext(const char *ip, int port,
|
||||||
const char *hostsocket)
|
const char *hostsocket)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user