feat: 'create table' ignore lines start with '#'

This commit is contained in:
Shungang Li 2024-06-25 14:34:59 +08:00
parent 586f8094c2
commit b55337ec42
1 changed files with 2 additions and 0 deletions

View File

@ -12860,6 +12860,8 @@ static int32_t parseCsvFile(SMsgBuf* pMsgBuf, SParseContext* pParseCxt, SParseFi
if (readLen == 0) continue;
if (pLine[0] == '#') continue;
strtolower(pLine, pLine);
pParseFileCtx->pSql = pLine;