From 9cd45522ccbff69626613114bd91872565386b49 Mon Sep 17 00:00:00 2001 From: yihaoDeng Date: Thu, 6 May 2021 20:34:11 +0800 Subject: [PATCH] delete some code --- src/client/src/tscServer.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/client/src/tscServer.c b/src/client/src/tscServer.c index 706055668d..9e7d778ddd 100644 --- a/src/client/src/tscServer.c +++ b/src/client/src/tscServer.c @@ -2535,7 +2535,9 @@ int32_t tscGetTableMeta(SSqlObj *pSql, STableMetaInfo *pTableMetaInfo) { pTableMetaInfo->pTableMeta = calloc(1, size); } else if (pTableMetaInfo->tableMetaSize < size) { char *tmp = realloc(pTableMetaInfo->pTableMeta, size); - if (tmp == NULL) { return TSDB_CODE_TSC_OUT_OF_MEMORY;} + if (tmp == NULL) { + return TSDB_CODE_TSC_OUT_OF_MEMORY; + } pTableMetaInfo->pTableMeta = (STableMeta *)tmp; pTableMetaInfo->tableMetaSize = size; } else { -- GitLab