[CP] [bugfix] Assigning ObRawExprPointer eats error code
This commit is contained in:
@ -5403,6 +5403,11 @@ int ObRawExprPointer::add_ref(ObRawExpr **expr)
|
||||
return expr_group_.push_back(expr);
|
||||
}
|
||||
|
||||
int ObRawExprPointer::assign(const ObRawExprPointer &other)
|
||||
{
|
||||
return expr_group_.assign(other.expr_group_);
|
||||
}
|
||||
|
||||
int ObMultiSetRawExpr::assign(const ObRawExpr &other)
|
||||
{
|
||||
int ret = OB_SUCCESS;
|
||||
|
@ -4426,6 +4426,7 @@ public:
|
||||
int get(ObRawExpr *&expr);
|
||||
int set(ObRawExpr *expr);
|
||||
int add_ref(ObRawExpr **expr);
|
||||
int assign(const ObRawExprPointer &other);
|
||||
TO_STRING_KV("", "");
|
||||
private:
|
||||
common::ObSEArray<ObRawExpr **, 1> expr_group_;
|
||||
|
Reference in New Issue
Block a user