This commit is contained in:
dapan1121 2021-05-28 15:16:20 +08:00
parent af367dc279
commit f382d2b9dd
1 changed files with 4 additions and 0 deletions

View File

@ -769,6 +769,10 @@ static int32_t tscCheckIfCreateTable(char **sqlstr, SSqlObj *pSql, char** boundC
index = 0;
sToken = tStrGetToken(sql, &index, false);
if (sToken.type == TK_ILLEGAL) {
return tscSQLSyntaxErrMsg(pCmd->payload, "unrecognized token", sToken.z);
}
if (sToken.type == TK_RP) {
break;
}