This commit is contained in:
Haojun Liao 2020-12-12 17:03:24 +08:00
parent ec4e3f0282
commit e561bb7ca0
1 changed files with 1 additions and 1 deletions

View File

@ -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;