Merge branch 'fix/TD-18728' of github.com:taosdata/TDengine into fix/TD-18728

This commit is contained in:
dapan1121 2022-08-30 14:27:11 +08:00
commit 6fd41c1af1
1 changed files with 1 additions and 0 deletions

View File

@ -471,6 +471,7 @@ static int32_t setCreateTBResultIntoDataBlock(SSDataBlock* pBlock, SDbCfgInfo* p
len += sprintf(buf2 + VARSTR_HEADER_SIZE, "CREATE TABLE `%s` (", tbName);
appendColumnFields(buf2, &len, pCfg);
len += sprintf(buf2 + VARSTR_HEADER_SIZE + len, ")");
appendTableOptions(buf2, &len, pDbCfg, pCfg);
}
varDataLen(buf2) = len;