diff --git a/src/sql/rewrite/ob_predicate_deduce.h b/src/sql/rewrite/ob_predicate_deduce.h index 42e269fc29..5378ab37ba 100644 --- a/src/sql/rewrite/ob_predicate_deduce.h +++ b/src/sql/rewrite/ob_predicate_deduce.h @@ -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);