Merge pull request #20285 from taosdata/fix/TD-23007
fix(query): fix crash in printing log in stream due to dereference of invalid address
This commit is contained in:
commit
9a983f2d9e
|
@ -1940,6 +1940,7 @@ int32_t apercentileFunctionMerge(SqlFunctionCtx* pCtx) {
|
|||
}
|
||||
|
||||
if (pInfo->algo != APERCT_ALGO_TDIGEST) {
|
||||
buildHistogramInfo(pInfo);
|
||||
qDebug("%s after merge, total:%" PRId64 ", numOfEntry:%d, %p", __FUNCTION__, pInfo->pHisto->numOfElems,
|
||||
pInfo->pHisto->numOfEntries, pInfo->pHisto);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue