fix minior error
This commit is contained in:
parent
334feb199a
commit
cb2311fde6
|
@ -2086,15 +2086,17 @@ static int32_t setVnodeModifOpStmt(SInsertParseContext* pCxt, SCatalogReq* pCata
|
|||
int32_t code = checkAuthFromMetaData(pMetaData->pUser, &pStmt->pTagCond);
|
||||
if (code == TSDB_CODE_SUCCESS) {
|
||||
code = getTableMetaFromMetaData(pMetaData->pTableMeta, &pStmt->pTableMeta);
|
||||
if (code == TSDB_CODE_SUCCESS && pStmt->pTableMeta->tableType == TSDB_SUPER_TABLE && !pStmt->usingTableProcessing) {
|
||||
}
|
||||
if (code == TSDB_CODE_SUCCESS) {
|
||||
if (pStmt->pTableMeta->tableType == TSDB_SUPER_TABLE && !pStmt->usingTableProcessing) {
|
||||
pStmt->stbSyntax = true;
|
||||
}
|
||||
if (code == TSDB_CODE_SUCCESS) {
|
||||
if (pStmt->usingTableProcessing || pStmt->stbSyntax) {
|
||||
return processTableSchemaFromMetaData(pCxt, pMetaData, pStmt, true);
|
||||
}
|
||||
return processTableSchemaFromMetaData(pCxt, pMetaData, pStmt, false);
|
||||
}
|
||||
return code;
|
||||
}
|
||||
|
||||
static int32_t resetVnodeModifOpStmt(SInsertParseContext* pCxt, SQuery* pQuery) {
|
||||
|
|
Loading…
Reference in New Issue