[CP] [CP] Fix view synonym bug

This commit is contained in:
xianyu-w
2024-02-10 11:32:36 +00:00
committed by ob-robot
parent b2f4717f20
commit 7829c9c8dc
27 changed files with 48 additions and 54 deletions

View File

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