reformat source code
according to code styles, 'AccessModifierOffset' should be -2.
This commit is contained in:
@ -18,7 +18,7 @@
|
||||
namespace oceanbase {
|
||||
namespace sql {
|
||||
class ObExprTimeStampDiff : public ObFuncExprOperator {
|
||||
public:
|
||||
public:
|
||||
explicit ObExprTimeStampDiff(common::ObIAllocator& alloc);
|
||||
virtual ~ObExprTimeStampDiff();
|
||||
virtual int calc_result_type3(ObExprResType& type, ObExprResType& unit, ObExprResType& left, ObExprResType& right,
|
||||
@ -33,7 +33,7 @@ class ObExprTimeStampDiff : public ObFuncExprOperator {
|
||||
static int eval_timestamp_diff(const ObExpr& expr, ObEvalCtx& ctx, ObDatum& res);
|
||||
virtual int cg_expr(ObExprCGCtx& ctx, const ObRawExpr& raw_expr, ObExpr& rt_expr) const override;
|
||||
|
||||
private:
|
||||
private:
|
||||
static int calc(int64_t& res, bool& is_null, int64_t unit_value, int64_t usec_left, int64_t usec_right,
|
||||
const common::ObTimeZoneInfo* tz_info);
|
||||
static int calc_month_diff(
|
||||
|
||||
Reference in New Issue
Block a user