From d8230b5239d6d07c6fc087f870172c485aa8fed8 Mon Sep 17 00:00:00 2001 From: wpan Date: Wed, 1 Sep 2021 14:31:23 +0800 Subject: [PATCH] fix meta realloc issue --- src/client/src/tscServer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/src/tscServer.c b/src/client/src/tscServer.c index df5ffcecf5..a6446a49fc 100644 --- a/src/client/src/tscServer.c +++ b/src/client/src/tscServer.c @@ -3007,6 +3007,7 @@ int32_t tscGetTableMetaImpl(SSqlObj* pSql, STableMetaInfo *pTableMetaInfo, bool // in case of child table, here only get the if (pMeta->tableType == TSDB_CHILD_TABLE) { int32_t code = tscCreateTableMetaFromSTableMeta(&pTableMetaInfo->pTableMeta, name, &pTableMetaInfo->tableMetaCapacity); + pMeta = pTableMetaInfo->pTableMeta; if (code != TSDB_CODE_SUCCESS) { return getTableMetaFromMnode(pSql, pTableMetaInfo, autocreate); } -- GitLab