add -Wshorten-64-to-32 for share
This commit is contained in:
@ -1126,7 +1126,7 @@ public:
|
||||
int check_and_get_same_rowid_expr(const ObRawExpr *expr, ObRawExpr *&same_rowid_expr);
|
||||
|
||||
int add_cte_definition(TableItem * table_item) { return cte_definitions_.push_back(table_item); }
|
||||
int get_cte_definition_size() const { return cte_definitions_.count(); }
|
||||
int64_t get_cte_definition_size() const { return cte_definitions_.count(); }
|
||||
common::ObIArray<TableItem *>& get_cte_definitions() { return cte_definitions_; }
|
||||
const common::ObIArray<TableItem *>& get_cte_definitions() const { return cte_definitions_; }
|
||||
|
||||
|
||||
@ -79,7 +79,7 @@ public:
|
||||
|
||||
void add_scope(DmlStmtScope scope)
|
||||
{
|
||||
flags_ = (flags_ | (1L << scope));
|
||||
flags_ = static_cast<uint32_t>((flags_ | (1L << scope)));
|
||||
}
|
||||
|
||||
void add_scope(const ObIArray<DmlStmtScope> &scopes);
|
||||
@ -218,4 +218,4 @@ private:
|
||||
}
|
||||
}
|
||||
|
||||
#endif // OB_STMT_EXPR_VISITOR_H
|
||||
#endif // OB_STMT_EXPR_VISITOR_H
|
||||
|
||||
Reference in New Issue
Block a user