提交 43a349bc 编写于 作者: D dapan1121

fix: fix crash caused by null pointer

上级 617cd405
......@@ -1782,6 +1782,10 @@ static int32_t setVnodeModifOpStmt(SInsertParseContext* pCxt, SCatalogReq* pCata
SVnodeModifOpStmt* pStmt) {
clearCatalogReq(pCatalogReq);
if (NULL == pMetaData) {
return TSDB_CODE_SUCCESS;
}
if (pStmt->usingTableProcessing) {
return getTableSchemaFromMetaData(pCxt, pMetaData, pStmt, true);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册