From e561bb7ca08d3ad45999526003df3811bb93e3b8 Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Sat, 12 Dec 2020 17:03:24 +0800 Subject: [PATCH] [TD-225] --- src/client/src/tscFunctionImpl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/src/tscFunctionImpl.c b/src/client/src/tscFunctionImpl.c index 7d41d57ccc..7560d94242 100644 --- a/src/client/src/tscFunctionImpl.c +++ b/src/client/src/tscFunctionImpl.c @@ -2222,7 +2222,7 @@ static void buildTopBotStruct(STopBotInfo *pTopBotInfo, SQLFunctionCtx *pCtx) { tmp += POINTER_BYTES * pCtx->param[0].i64Key; size_t size = sizeof(tValuePair) + pCtx->tagInfo.tagsLen; - assert(pCtx->param[0].i64Key > 0); +// assert(pCtx->param[0].i64Key > 0); for (int32_t i = 0; i < pCtx->param[0].i64Key; ++i) { pTopBotInfo->res[i] = (tValuePair*) tmp; -- GitLab