disable extract shared child exprs for dblink stmt

This commit is contained in:
xianyu-w
2023-05-23 06:47:26 +00:00
committed by ob-robot
parent 10d7a784d7
commit 80ea23a8dc
3 changed files with 29 additions and 20 deletions

View File

@ -651,6 +651,8 @@ struct ObAllocExprContext
// {key => flattern expr, value => reference count }
hash::ObHashMap<uint64_t, int64_t> flattern_expr_map_;
common::ObSEArray<ExprProducer, 16, common::ModulePageAllocator, true> expr_producers_;
// Exprs that cannot be used to extract shared child exprs
common::ObSEArray<ObRawExpr *, 4, common::ModulePageAllocator, true> inseparable_exprs_;
};
struct ObPxPipeBlockingCtx
@ -1185,6 +1187,8 @@ public:
return common::OB_SUCCESS;
}
int collecte_inseparable_exprs(ObAllocExprContext &ctx);
virtual int allocate_expr_pre(ObAllocExprContext &ctx);
virtual int get_op_exprs(ObIArray<ObRawExpr*> &all_exprs);