From 514f78f2e2c7e62dc9f04d7e6a28ae20b75f6f8f Mon Sep 17 00:00:00 2001 From: shenglian zhou Date: Tue, 28 Dec 2021 17:11:31 +0800 Subject: [PATCH] [TD-HOT](query,insert):hot fix for core dump --- src/util/src/tlosertree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/src/tlosertree.c b/src/util/src/tlosertree.c index da078f353a..2974dba890 100644 --- a/src/util/src/tlosertree.c +++ b/src/util/src/tlosertree.c @@ -101,7 +101,7 @@ void tLoserTreeAdjust(SLoserTreeInfo* pTree, int32_t idx) { * but the first element in SLoserTreeNode is int32_t * and the comparFn get data as *(int32_t*)(void *), so it is just ok. */ - int32_t ret = pTree->comparFn(&pCur, &kLeaf, pTree->param); + int32_t ret = pTree->comparFn(pCur, &kLeaf, pTree->param); if (ret < 0) { SLoserTreeNode t = pTree->pNode[parentId]; pTree->pNode[parentId] = kLeaf; -- GitLab