From 4ff9ab7fc259ed6c31b35749aed154046dda9fa9 Mon Sep 17 00:00:00 2001 From: Ganlin Zhao Date: Thu, 20 Oct 2022 14:19:20 +0800 Subject: [PATCH] fix(query): fix crash if block SMA is set and real data is not loaded. TD-19601 --- source/libs/function/src/builtinsimpl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/libs/function/src/builtinsimpl.c b/source/libs/function/src/builtinsimpl.c index c843de2b94..9085f00b29 100644 --- a/source/libs/function/src/builtinsimpl.c +++ b/source/libs/function/src/builtinsimpl.c @@ -1168,7 +1168,7 @@ static int32_t findRowIndex(int32_t start, int32_t num, SColumnInfoData* pCol, c } } - // if reach here means real data of block SMA is not set. + // if reach here means real data of block SMA is not set in pCtx->input. return -1; }