add -Wshorten-64-to-32 for share

This commit is contained in:
xuhuleon
2023-02-07 00:40:01 +08:00
committed by ob-robot
parent 822aaaf7f2
commit c157309bc6
168 changed files with 502 additions and 636 deletions

View File

@ -118,7 +118,7 @@ public:
number_pass_ = num_pass;
}
}
OB_INLINE int32_t get_number_pass() const { return number_pass_; }
OB_INLINE int64_t get_number_pass() const { return number_pass_; }
static bool auto_sql_memory_manager(ObSqlWorkAreaProfile &profile)
{
@ -264,7 +264,6 @@ public:
OB_INLINE void set_seqno(int64_t seqno) { seqno_ = seqno; }
OB_INLINE int64_t get_seqno() { return seqno_; }
OB_INLINE WorkareaKey get_workarea_key() const { return workarea_key_; }
OB_INLINE int32_t get_sql_id_len() const { return strlen(workarea_key_.sql_id_); }
OB_INLINE const char* get_sql_id() const { return workarea_key_.sql_id_; }
OB_INLINE uint64_t get_plan_id() const { return workarea_key_.plan_id_; }
OB_INLINE uint64_t get_operator_id() const { return workarea_key_.operator_id_; }