fix some outline/hint bugs

This commit is contained in:
obdev
2024-02-08 13:15:19 +00:00
committed by ob-robot
parent c7b8a188c3
commit b6a15b6111
46 changed files with 1370 additions and 638 deletions

View File

@ -1149,7 +1149,7 @@ int ObTransformTempTable::create_temp_table(ObDMLStmt &root_stmt,
if (OB_FAIL(ObTransformUtils::deep_copy_stmt(*ctx_->stmt_factory_, *ctx_->expr_factory_,
table->ref_query_, temp_table_stmt))) {
LOG_WARN("failed to deep copy stmt", K(ret));
} else if (OB_FAIL(temp_table_stmt->update_stmt_table_id(*table->ref_query_))) {
} else if (OB_FAIL(temp_table_stmt->update_stmt_table_id(ctx_->allocator_, *table->ref_query_))) {
LOG_WARN("failed to update table id", K(ret));
} else if (OB_FAIL(stmt->generate_view_name(*ctx_->allocator_,
temp_table->table_name_,