This commit is contained in:
dapan1121 2021-05-31 16:45:49 +08:00
parent dde99cbbff
commit 0684dd5298
1 changed files with 1 additions and 1 deletions

View File

@ -1286,7 +1286,7 @@ int stmtParseInsertTbTags(SSqlObj* pSql, STscStmt* pStmt) {
}
sToken = tStrGetToken(pCmd->curSql, &index, false);
if (sToken.n <= 0 || sToken.type != TK_VALUES) {
if (sToken.n <= 0 || (sToken.type != TK_VALUES && sToken.type != TK_LP) {
return TSDB_CODE_TSC_INVALID_OPERATION;
}