Fix cast as udt hit wrong plan cache bug

This commit is contained in:
xianyu-w
2023-05-26 07:41:33 +00:00
committed by ob-robot
parent c5bfd361f6
commit c572f3bf9e
5 changed files with 53 additions and 8 deletions

View File

@ -586,8 +586,9 @@ struct DistinctObjMeta
ObIArray<ObRawExpr*> &column_ref_remove_const_exprs);
int transform_cast_multiset_for_stmt(ObDMLStmt *&stmt, bool &is_happened);
int transform_cast_multiset_for_expr(ObRawExpr *&expr, bool &trans_happened);
int add_constructor_to_multiset(ObQueryRefRawExpr *multiset_expr,
int transform_cast_multiset_for_expr(ObDMLStmt &stmt, ObRawExpr *&expr, bool &trans_happened);
int add_constructor_to_multiset(ObDMLStmt &stmt,
ObQueryRefRawExpr *multiset_expr,
const pl::ObPLDataType &elem_type,
bool& trans_happened);
int add_column_conv_to_multiset(ObQueryRefRawExpr *multiset_expr,