patch 4.0
This commit is contained in:
@ -26,17 +26,12 @@ public:
|
||||
ObExprResType &input2,
|
||||
ObExprResType &input3,
|
||||
common::ObExprTypeCtx &type_ctx)const;
|
||||
virtual int calc_result3(common::ObObj &result,
|
||||
const common::ObObj &input1,
|
||||
const common::ObObj &input2,
|
||||
const common::ObObj &input3,
|
||||
common::ObExprCtx &expr_ctx) const;
|
||||
virtual int cg_expr(ObExprCGCtx &expr_cg_ctx, const ObRawExpr &raw_expr,
|
||||
ObExpr &expr) const override;
|
||||
static int eval_convert_tz(const ObExpr &expr, ObEvalCtx &ctx, ObDatum &res);
|
||||
static int find_time_zone_pos(const ObString &tz_name,
|
||||
const ObTimeZoneInfo &tz_info,
|
||||
ObTimeZoneInfoPos *&tz_info_pos);
|
||||
ObTimeZoneInfoPos &tz_info_pos);
|
||||
template <typename T>
|
||||
static int calc_convert_tz(int64_t timestamp_data, const ObString &tz_str_s,//source time zone (input2)
|
||||
const ObString &tz_str_d,//destination time zone (input3)
|
||||
@ -56,4 +51,4 @@ private:
|
||||
|
||||
} //sql
|
||||
} //oceanbasel
|
||||
#endif //OCEANBASE_SQL_OB_EXPR_CONVERT_TZ_H_
|
||||
#endif //OCEANBASE_SQL_OB_EXPR_CONVERT_TZ_H_
|
||||
|
||||
Reference in New Issue
Block a user