patch 4.0

This commit is contained in:
wangzelin.wzl
2022-10-24 10:34:53 +08:00
parent 4ad6e00ec3
commit 93a1074b0c
10533 changed files with 2588271 additions and 2299373 deletions

View File

@ -18,18 +18,26 @@
//#include "common/expression/ob_expr_string_buf.h"
//#include "lib/timezone/ob_timezone_info.h"
namespace oceanbase {
namespace sql {
class ObExprResType;
class ObExprPromotionUtil {
public:
static int get_nvl_type(ObExprResType& type, const ObExprResType& type1, const ObExprResType& type2);
private:
static int get_calc_type(ObExprResType& type, const ObExprResType& type1, const ObExprResType& type2,
namespace oceanbase
{
namespace sql
{
class ObExprResType;
class ObExprPromotionUtil
{
public:
static int get_nvl_type(
ObExprResType &type,
const ObExprResType &type1,
const ObExprResType &type2);
private:
static int get_calc_type(
ObExprResType &type,
const ObExprResType &type1,
const ObExprResType &type2,
const common::ObObjType map[common::ObMaxTC][common::ObMaxTC]);
};
} // namespace sql
} // namespace oceanbase
#endif /* _OB_EXPR_PROMOTION_UTIL_H_ */
}
}
#endif /* _OB_EXPR_PROMOTION_UTIL_H_ */