feat: 'create table' ignore lines start with '#'
This commit is contained in:
parent
586f8094c2
commit
b55337ec42
|
@ -12860,6 +12860,8 @@ static int32_t parseCsvFile(SMsgBuf* pMsgBuf, SParseContext* pParseCxt, SParseFi
|
||||||
|
|
||||||
if (readLen == 0) continue;
|
if (readLen == 0) continue;
|
||||||
|
|
||||||
|
if (pLine[0] == '#') continue;
|
||||||
|
|
||||||
strtolower(pLine, pLine);
|
strtolower(pLine, pLine);
|
||||||
pParseFileCtx->pSql = pLine;
|
pParseFileCtx->pSql = pLine;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue