[CP] [CP] Fix view synonym bug

This commit is contained in:
xianyu-w
2024-02-06 06:12:01 +00:00
committed by ob-robot
parent f959608a49
commit f1c9be6b9f
27 changed files with 48 additions and 54 deletions

View File

@ -383,6 +383,7 @@ int ObInsertLogPlan::allocate_insert_values_as_top(ObLogicalOperator *&top)
const ObInsertStmt *insert_stmt = get_stmt();
ObSQLSessionInfo *session_info = get_optimizer_context().get_session_info();
if (OB_ISNULL(insert_stmt) || OB_ISNULL(session_info)) {
ret = OB_ERR_UNEXPECTED;
LOG_WARN("get unexpected null", K(insert_stmt), K(session_info), K(ret));
} else if (OB_ISNULL(values_op = static_cast<ObLogExprValues*>(get_log_op_factory().
allocate(*this, LOG_EXPR_VALUES)))) {