call processTableSchemaFromMetaData when success
This commit is contained in:
parent
8532227a36
commit
334feb199a
|
@ -2089,12 +2089,13 @@ static int32_t setVnodeModifOpStmt(SInsertParseContext* pCxt, SCatalogReq* pCata
|
||||||
if (code == TSDB_CODE_SUCCESS && pStmt->pTableMeta->tableType == TSDB_SUPER_TABLE && !pStmt->usingTableProcessing) {
|
if (code == TSDB_CODE_SUCCESS && pStmt->pTableMeta->tableType == TSDB_SUPER_TABLE && !pStmt->usingTableProcessing) {
|
||||||
pStmt->stbSyntax = true;
|
pStmt->stbSyntax = true;
|
||||||
}
|
}
|
||||||
}
|
if (code == TSDB_CODE_SUCCESS) {
|
||||||
if (pStmt->usingTableProcessing || pStmt->stbSyntax) {
|
if (pStmt->usingTableProcessing || pStmt->stbSyntax) {
|
||||||
return processTableSchemaFromMetaData(pCxt, pMetaData, pStmt, true);
|
return processTableSchemaFromMetaData(pCxt, pMetaData, pStmt, true);
|
||||||
}
|
}
|
||||||
return processTableSchemaFromMetaData(pCxt, pMetaData, pStmt, false);
|
return processTableSchemaFromMetaData(pCxt, pMetaData, pStmt, false);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
static int32_t resetVnodeModifOpStmt(SInsertParseContext* pCxt, SQuery* pQuery) {
|
static int32_t resetVnodeModifOpStmt(SInsertParseContext* pCxt, SQuery* pQuery) {
|
||||||
nodesDestroyNode(pQuery->pRoot);
|
nodesDestroyNode(pQuery->pRoot);
|
||||||
|
|
Loading…
Reference in New Issue