remove is_bulk_ from obdmlstmt & fix mysqltest

This commit is contained in:
obdev
2023-04-28 06:11:59 +00:00
committed by ob-robot
parent 17abf2818a
commit 096d1eccdf
6 changed files with 9 additions and 10 deletions

View File

@ -385,8 +385,7 @@ ObDMLStmt::ObDMLStmt(stmt::StmtType type)
user_var_exprs_(),
check_constraint_items_(),
dblink_id_(OB_INVALID_ID),
is_reverse_link_(false),
is_bulk_(false)
is_reverse_link_(false)
{
}
@ -496,7 +495,6 @@ int ObDMLStmt::assign(const ObDMLStmt &other)
transpose_item_ = other.transpose_item_;
dblink_id_ = other.dblink_id_;
is_reverse_link_ = other.is_reverse_link_;
is_bulk_ = other.is_bulk_;
}
return ret;
}
@ -659,7 +657,6 @@ int ObDMLStmt::deep_copy_stmt_struct(ObIAllocator &allocator,
is_fetch_with_ties_ = other.is_fetch_with_ties_;
dblink_id_ = other.dblink_id_;
is_reverse_link_ = other.is_reverse_link_;
is_bulk_ = other.is_bulk_;
}
if (OB_SUCC(ret)) {
TransposeItem *tmp = NULL;

View File

@ -973,8 +973,6 @@ public:
inline bool is_dblink_stmt() const { return OB_INVALID_ID != dblink_id_; }
inline void set_reverse_link() { is_reverse_link_ = true; }
inline bool is_reverse_link() const { return is_reverse_link_; }
inline void set_bulk() { is_bulk_ = true; }
inline bool is_bulk() const { return is_bulk_; }
int add_subquery_ref(ObQueryRefRawExpr *query_ref);
virtual int get_child_stmt_size(int64_t &child_size) const;
int64_t get_subquery_expr_size() const { return subquery_exprs_.count(); }
@ -1211,7 +1209,6 @@ protected:
*/
int64_t dblink_id_;
bool is_reverse_link_;
bool is_bulk_;
};
template <typename T>