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,20 +18,38 @@
#include "common/object/ob_obj_compare.h"
#include "lib/charset/ob_charset.h"
namespace oceanbase {
namespace common {
class ObDatum;
namespace oceanbase
{
namespace common
{
struct ObDatum;
}
namespace sql {
typedef int (*DatumCmpFunc)(const common::ObDatum& datum1, const common::ObDatum& datum2);
class ObExprCmpFuncsHelper {
namespace sql
{
typedef int (*DatumCmpFunc)(const common::ObDatum &datum1, const common::ObDatum &datum2);
class ObExprCmpFuncsHelper
{
public:
static sql::ObExpr::EvalFunc get_eval_expr_cmp_func(const common::ObObjType type1, const common::ObObjType type2,
const common::ObCmpOp cmp_op, const bool is_oracle_mode, const common::ObCollationType cs_type);
static sql::ObExpr::EvalFunc get_eval_expr_cmp_func(
const common::ObObjType type1,
const common::ObObjType type2,
const common::ObCmpOp cmp_op,
const bool is_oracle_mode,
const common::ObCollationType cs_type);
static DatumCmpFunc get_datum_expr_cmp_func(const common::ObObjType type1, const common::ObObjType type2,
const bool is_oracle_mode, const common::ObCollationType cs_type);
static sql::ObExpr::EvalBatchFunc get_eval_batch_expr_cmp_func(
const common::ObObjType type1,
const common::ObObjType type2,
const common::ObCmpOp cmp_op,
const bool is_oracle_mode,
const common::ObCollationType cs_type);
static DatumCmpFunc get_datum_expr_cmp_func(
const common::ObObjType type1,
const common::ObObjType type2,
const bool is_oracle_mode,
const common::ObCollationType cs_type);
};
} // namespace sql
} // end namespace oceanbase
#endif // !OCEANBASE_EXPR_CMP_FUNC_H_
}
} // end namespace oceanbase
#endif // !OCEANBASE_EXPR_CMP_FUNC_H_