From 2cac39d66599050ea46016db23f451617d623b15 Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Mon, 19 Oct 2020 18:20:33 +0800 Subject: [PATCH] [td-225] reduce tableMeta size --- src/client/src/tscServer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/src/tscServer.c b/src/client/src/tscServer.c index bfd913dcf5..8a50299d51 100644 --- a/src/client/src/tscServer.c +++ b/src/client/src/tscServer.c @@ -1856,7 +1856,7 @@ int tscProcessSTableVgroupRsp(SSqlObj *pSql) { pVgroups->vgId = htonl(vgroupMsg->vgId); pVgroups->numOfEps = vgroupMsg->numOfEps; - assert(pVgroups->numOfEps >= 1); + assert(pVgroups->numOfEps >= 1 && pVgroups->vgId >= 1); for (int32_t k = 0; k < pVgroups->numOfEps; ++k) { pVgroups->epAddr[k].port = htons(vgroupMsg->epAddr[k].port); -- GitLab