[CP] to issue<53073647>:fix two issues

This commit is contained in:
hanr881
2024-02-04 12:12:02 +00:00
committed by ob-robot
parent 9cc29b070f
commit ed1e4d3f4f
5 changed files with 56 additions and 6 deletions

View File

@ -32644,7 +32644,7 @@ int ObDDLService::alter_package(ObSchemaGetterGuard &schema_guard,
LOG_WARN("failed to get tenant schema version", KR(ret), K(tenant_id));
} else if (OB_FAIL(trans.start(sql_proxy_, tenant_id, refreshed_schema_version))) {
LOG_WARN("start transaction failed", KR(ret), K(tenant_id), K(refreshed_schema_version));
} else if (OB_FAIL(ddl_operator.alter_package(package_info, trans, public_routine_infos,
} else if (OB_FAIL(ddl_operator.alter_package(package_info, schema_guard, trans, public_routine_infos,
error_info, ddl_stmt_str))) {
LOG_WARN("alter package failed", K(package_info), K(ret));
}