From 168769830ffced64629753ef5f735ac1e931f22d Mon Sep 17 00:00:00 2001 From: dapan1121 Date: Mon, 15 Apr 2024 09:52:35 +0800 Subject: [PATCH] fix: invalid read issue --- source/libs/executor/src/hashjoinoperator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/libs/executor/src/hashjoinoperator.c b/source/libs/executor/src/hashjoinoperator.c index 6e3a929df5..31d3385676 100755 --- a/source/libs/executor/src/hashjoinoperator.c +++ b/source/libs/executor/src/hashjoinoperator.c @@ -145,7 +145,7 @@ static int64_t hJoinGetRowsNumOfKeyHash(SSHashObj* pHash) { while (NULL != (pGroup = tSimpleHashIterate(pHash, pGroup, &iter))) { int32_t* pKey = tSimpleHashGetKey(pGroup, NULL); int64_t rows = hJoinGetSingleKeyRowsNum(pGroup->rows); - qTrace("build_key:%d, rows:%" PRId64, *pKey, rows); + //qTrace("build_key:%d, rows:%" PRId64, *pKey, rows); rowsNum += rows; } @@ -906,7 +906,7 @@ static int32_t hJoinBuildHash(struct SOperatorInfo* pOperator, bool* queryDone) *queryDone = true; } - qTrace("build table rows:%" PRId64, hJoinGetRowsNumOfKeyHash(pJoin->pKeyHash)); + //qTrace("build table rows:%" PRId64, hJoinGetRowsNumOfKeyHash(pJoin->pKeyHash)); return TSDB_CODE_SUCCESS; }