From 233a0169457669defdf8944db4cf07cca82def22 Mon Sep 17 00:00:00 2001 From: yihaoDeng Date: Sat, 23 Jul 2022 15:49:48 +0800 Subject: [PATCH] add debug --- source/libs/index/src/indexFilter.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/libs/index/src/indexFilter.c b/source/libs/index/src/indexFilter.c index b1721229fa..7fc41b8dff 100644 --- a/source/libs/index/src/indexFilter.c +++ b/source/libs/index/src/indexFilter.c @@ -182,6 +182,7 @@ static int32_t sifInitJsonParam(SNode *node, SIFParam *param, SIFCtx *ctx) { param->colId = l->colId; param->colValType = l->node.resType.type; memcpy(param->dbName, l->dbName, sizeof(l->dbName)); + if (r->literal == NULL) return TSDB_CODE_QRY_INVALID_INPUT; memcpy(param->colName, r->literal, strlen(r->literal)); param->colValType = r->typeData; param->status = SFLT_COARSE_INDEX;