fix: some problems of planner

This commit is contained in:
Xiaoyu Wang 2022-07-14 16:58:54 +08:00
parent ddb39a8dc2
commit 5a5ae23ddf
1 changed files with 7 additions and 0 deletions

View File

@ -1167,6 +1167,13 @@ static int parseOneRow(SInsertParseContext* pCxt, STableDataBlocks* pDataBlocks,
TSKEY tsKey = TD_ROW_KEY(row);
checkTimestamp(pDataBlocks, (const char*)&tsKey);
}
if (i < spd->numOfBound - 1) {
NEXT_VALID_TOKEN(pCxt->pSql, sToken);
if (TK_NK_COMMA != sToken.type) {
return buildSyntaxErrMsg(&pCxt->msg, ", expected", sToken.z);
}
}
}
if (!isParseBindParam) {