fix: add table comment in show create table result

This commit is contained in:
dapan1121 2022-08-30 11:30:43 +08:00
parent 354ce17ef9
commit ad35a67f2f
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;