bugfix: specify tenant for memory allocation of member variables in PredicateDeduce

This commit is contained in:
obdev
2023-09-08 14:18:44 +08:00
committed by ob-robot
parent 03f903d482
commit bb216de58d

View File

@ -28,7 +28,11 @@ class ObPredicateDeduce {
};
public:
ObPredicateDeduce(ObDMLStmt &stmt) : stmt_(stmt) {}
ObPredicateDeduce(ObDMLStmt &stmt) : stmt_(stmt) {
graph_.set_attr(ObMemAttr(MTL_ID(), "Graph"));
type_safety_.set_attr(ObMemAttr(MTL_ID(), "TypeSafety"));
topo_order_.set_attr(ObMemAttr(MTL_ID(), "TopoOrder"));
}
int add_predicate(ObRawExpr *pred, bool &is_added);