diff --git a/src/sql/optimizer/ob_table_location.cpp b/src/sql/optimizer/ob_table_location.cpp index 4b4296bb20..8979f18d44 100644 --- a/src/sql/optimizer/ob_table_location.cpp +++ b/src/sql/optimizer/ob_table_location.cpp @@ -829,14 +829,16 @@ void ObTableLocation::reset() } } calc_nodes_.reset(); - - stmt_type_ = stmt::T_NONE; - + vies_.reset(); + sub_vies_.reset(); + se_part_expr_ = NULL; + se_gen_col_expr_ = NULL; + se_subpart_expr_ = NULL; + se_sub_gen_col_expr_ = NULL; part_hint_ids_.reset(); - + part_col_type_ = ObNullType; related_list_.reset(); - inner_allocator_.reset(); part_collation_type_ = CS_TYPE_INVALID; subpart_col_type_ = ObNullType;