Optimize compilation

This commit is contained in:
Zach41 2024-10-18 02:44:15 +00:00 committed by ob-robot
parent bace82ca6c
commit 233c612457
179 changed files with 705 additions and 3862 deletions

View File

@ -25,14 +25,6 @@ ob_set_subtarget(ob_share ALONE
vector/expr_cmp_func_parts/expr_cmp_func_part_5.cpp
vector/expr_cmp_func_parts/expr_cmp_func_part_6.cpp
vector/expr_cmp_func_parts/expr_cmp_func_part_7.cpp
vector/expr_cmp_func_parts/expr_cmp_func_part_8.cpp
vector/expr_cmp_func_parts/expr_cmp_func_part_9.cpp
vector/expr_cmp_func_parts/expr_cmp_func_part_10.cpp
vector/expr_cmp_func_parts/expr_cmp_func_part_11.cpp
vector/expr_cmp_func_parts/expr_cmp_func_part_12.cpp
vector/expr_cmp_func_parts/expr_cmp_func_part_13.cpp
vector/expr_cmp_func_parts/expr_cmp_func_part_14.cpp
vector/expr_cmp_func_parts/expr_cmp_func_part_15.cpp
aggregate/approx_count_distinct_synopsis.cpp
datum/ob_datum_funcs_compilation/ob_datum_funcs_compilation_0.cpp
@ -43,30 +35,6 @@ ob_set_subtarget(ob_share ALONE
datum/ob_datum_funcs_compilation/ob_datum_funcs_compilation_5.cpp
datum/ob_datum_funcs_compilation/ob_datum_funcs_compilation_6.cpp
datum/ob_datum_funcs_compilation/ob_datum_funcs_compilation_7.cpp
datum/ob_datum_funcs_compilation/ob_datum_funcs_compilation_8.cpp
datum/ob_datum_funcs_compilation/ob_datum_funcs_compilation_9.cpp
datum/ob_datum_funcs_compilation/ob_datum_funcs_compilation_10.cpp
datum/ob_datum_funcs_compilation/ob_datum_funcs_compilation_11.cpp
datum/ob_datum_funcs_compilation/ob_datum_funcs_compilation_12.cpp
datum/ob_datum_funcs_compilation/ob_datum_funcs_compilation_13.cpp
datum/ob_datum_funcs_compilation/ob_datum_funcs_compilation_14.cpp
datum/ob_datum_funcs_compilation/ob_datum_funcs_compilation_15.cpp
datum/ob_datum_funcs_compilation/ob_datum_funcs_compilation_16.cpp
datum/ob_datum_funcs_compilation/ob_datum_funcs_compilation_17.cpp
datum/ob_datum_funcs_compilation/ob_datum_funcs_compilation_18.cpp
datum/ob_datum_funcs_compilation/ob_datum_funcs_compilation_19.cpp
datum/ob_datum_funcs_compilation/ob_datum_funcs_compilation_20.cpp
datum/ob_datum_funcs_compilation/ob_datum_funcs_compilation_21.cpp
datum/ob_datum_funcs_compilation/ob_datum_funcs_compilation_22.cpp
datum/ob_datum_funcs_compilation/ob_datum_funcs_compilation_23.cpp
datum/ob_datum_funcs_compilation/ob_datum_funcs_compilation_24.cpp
datum/ob_datum_funcs_compilation/ob_datum_funcs_compilation_25.cpp
datum/ob_datum_funcs_compilation/ob_datum_funcs_compilation_26.cpp
datum/ob_datum_funcs_compilation/ob_datum_funcs_compilation_27.cpp
datum/ob_datum_funcs_compilation/ob_datum_funcs_compilation_28.cpp
datum/ob_datum_funcs_compilation/ob_datum_funcs_compilation_29.cpp
datum/ob_datum_funcs_compilation/ob_datum_funcs_compilation_30.cpp
datum/ob_datum_funcs_compilation/ob_datum_funcs_compilation_31.cpp
datum/ob_datum_funcs_compilation/ob_datum_funcs_all.cpp
datum/ob_str_datum_funcs_compilation/ob_str_datum_funcs_compilation_0.cpp
@ -77,46 +45,6 @@ ob_set_subtarget(ob_share ALONE
datum/ob_str_datum_funcs_compilation/ob_str_datum_funcs_compilation_5.cpp
datum/ob_str_datum_funcs_compilation/ob_str_datum_funcs_compilation_6.cpp
datum/ob_str_datum_funcs_compilation/ob_str_datum_funcs_compilation_7.cpp
datum/ob_str_datum_funcs_compilation/ob_str_datum_funcs_compilation_8.cpp
datum/ob_str_datum_funcs_compilation/ob_str_datum_funcs_compilation_9.cpp
datum/ob_str_datum_funcs_compilation/ob_str_datum_funcs_compilation_10.cpp
datum/ob_str_datum_funcs_compilation/ob_str_datum_funcs_compilation_11.cpp
datum/ob_str_datum_funcs_compilation/ob_str_datum_funcs_compilation_12.cpp
datum/ob_str_datum_funcs_compilation/ob_str_datum_funcs_compilation_13.cpp
datum/ob_str_datum_funcs_compilation/ob_str_datum_funcs_compilation_14.cpp
datum/ob_str_datum_funcs_compilation/ob_str_datum_funcs_compilation_15.cpp
datum/ob_str_datum_funcs_compilation/ob_str_datum_funcs_compilation_16.cpp
datum/ob_str_datum_funcs_compilation/ob_str_datum_funcs_compilation_17.cpp
datum/ob_str_datum_funcs_compilation/ob_str_datum_funcs_compilation_18.cpp
datum/ob_str_datum_funcs_compilation/ob_str_datum_funcs_compilation_19.cpp
datum/ob_str_datum_funcs_compilation/ob_str_datum_funcs_compilation_20.cpp
datum/ob_str_datum_funcs_compilation/ob_str_datum_funcs_compilation_21.cpp
datum/ob_str_datum_funcs_compilation/ob_str_datum_funcs_compilation_22.cpp
datum/ob_str_datum_funcs_compilation/ob_str_datum_funcs_compilation_23.cpp
datum/ob_str_datum_funcs_compilation/ob_str_datum_funcs_compilation_24.cpp
datum/ob_str_datum_funcs_compilation/ob_str_datum_funcs_compilation_25.cpp
datum/ob_str_datum_funcs_compilation/ob_str_datum_funcs_compilation_26.cpp
datum/ob_str_datum_funcs_compilation/ob_str_datum_funcs_compilation_27.cpp
datum/ob_str_datum_funcs_compilation/ob_str_datum_funcs_compilation_28.cpp
datum/ob_str_datum_funcs_compilation/ob_str_datum_funcs_compilation_29.cpp
datum/ob_str_datum_funcs_compilation/ob_str_datum_funcs_compilation_30.cpp
datum/ob_str_datum_funcs_compilation/ob_str_datum_funcs_compilation_31.cpp
datum/ob_str_datum_funcs_compilation/ob_str_datum_funcs_compilation_32.cpp
datum/ob_str_datum_funcs_compilation/ob_str_datum_funcs_compilation_33.cpp
datum/ob_str_datum_funcs_compilation/ob_str_datum_funcs_compilation_34.cpp
datum/ob_str_datum_funcs_compilation/ob_str_datum_funcs_compilation_35.cpp
datum/ob_str_datum_funcs_compilation/ob_str_datum_funcs_compilation_36.cpp
datum/ob_str_datum_funcs_compilation/ob_str_datum_funcs_compilation_37.cpp
datum/ob_str_datum_funcs_compilation/ob_str_datum_funcs_compilation_38.cpp
datum/ob_str_datum_funcs_compilation/ob_str_datum_funcs_compilation_39.cpp
datum/ob_str_datum_funcs_compilation/ob_str_datum_funcs_compilation_40.cpp
datum/ob_str_datum_funcs_compilation/ob_str_datum_funcs_compilation_41.cpp
datum/ob_str_datum_funcs_compilation/ob_str_datum_funcs_compilation_42.cpp
datum/ob_str_datum_funcs_compilation/ob_str_datum_funcs_compilation_43.cpp
datum/ob_str_datum_funcs_compilation/ob_str_datum_funcs_compilation_44.cpp
datum/ob_str_datum_funcs_compilation/ob_str_datum_funcs_compilation_45.cpp
datum/ob_str_datum_funcs_compilation/ob_str_datum_funcs_compilation_46.cpp
datum/ob_str_datum_funcs_compilation/ob_str_datum_funcs_compilation_47.cpp
datum/ob_str_datum_funcs_compilation/ob_str_datum_funcs_all.cpp
)

View File

@ -15,6 +15,8 @@
#include <type_traits>
#include "ob_defined_collations.h"
#include "common/object/ob_obj_type.h"
#include "lib/charset/ob_charset.h"
#include "lib/number/ob_number_v2.h"
@ -467,150 +469,6 @@ struct ObDatumCollectionCmp : public ObDefined<>
///////////////////////////////////////////////////////////////////////////////
// begin define string compare functions
///////////////////////////////////////////////////////////////////////////////
typedef ObConstIntMapping<0,
CS_TYPE_GBK_CHINESE_CI, 1,
CS_TYPE_UTF8MB4_GENERAL_CI, 1,
CS_TYPE_UTF8MB4_BIN, 1,
CS_TYPE_UTF16_GENERAL_CI, 1,
CS_TYPE_UTF16_BIN, 1,
CS_TYPE_BINARY, 1,
CS_TYPE_GBK_BIN, 1,
CS_TYPE_UTF16_UNICODE_CI, 1,
CS_TYPE_UTF8MB4_UNICODE_CI, 1,
CS_TYPE_GB18030_CHINESE_CI, 1,
CS_TYPE_GB18030_BIN, 1,
CS_TYPE_LATIN1_SWEDISH_CI,1,
CS_TYPE_LATIN1_BIN,1,
CS_TYPE_GB18030_2022_BIN, 1,
CS_TYPE_GB18030_2022_PINYIN_CI, 1,
CS_TYPE_GB18030_2022_PINYIN_CS, 1,
CS_TYPE_GB18030_2022_RADICAL_CI, 1,
CS_TYPE_GB18030_2022_RADICAL_CS, 1,
CS_TYPE_GB18030_2022_STROKE_CI, 1,
CS_TYPE_GB18030_2022_STROKE_CS, 1,
CS_TYPE_ASCII_GENERAL_CI,1,
CS_TYPE_ASCII_BIN,1,
CS_TYPE_TIS620_THAI_CI,1,
CS_TYPE_TIS620_BIN,1,
CS_TYPE_UTF16LE_GENERAL_CI, 1,
CS_TYPE_UTF16LE_BIN, 1,
CS_TYPE_SJIS_JAPANESE_CI, 1,
CS_TYPE_SJIS_BIN, 1,
CS_TYPE_BIG5_CHINESE_CI, 1,
CS_TYPE_BIG5_BIN, 1,
CS_TYPE_HKSCS_BIN, 1,
CS_TYPE_HKSCS31_BIN, 1,
CS_TYPE_UTF8MB4_ICELANDIC_UCA_CI, 1,
CS_TYPE_UTF8MB4_LATVIAN_UCA_CI , 1,
CS_TYPE_UTF8MB4_ROMANIAN_UCA_CI , 1,
CS_TYPE_UTF8MB4_SLOVENIAN_UCA_CI, 1,
CS_TYPE_UTF8MB4_POLISH_UCA_CI , 1,
CS_TYPE_UTF8MB4_ESTONIAN_UCA_CI , 1,
CS_TYPE_UTF8MB4_SPANISH_UCA_CI , 1,
CS_TYPE_UTF8MB4_SWEDISH_UCA_CI , 1,
CS_TYPE_UTF8MB4_TURKISH_UCA_CI , 1,
CS_TYPE_UTF8MB4_CZECH_UCA_CI , 1,
CS_TYPE_UTF8MB4_DANISH_UCA_CI , 1,
CS_TYPE_UTF8MB4_LITHUANIAN_UCA_CI, 1,
CS_TYPE_UTF8MB4_SLOVAK_UCA_CI , 1,
CS_TYPE_UTF8MB4_SPANISH2_UCA_CI , 1,
CS_TYPE_UTF8MB4_ROMAN_UCA_CI , 1,
CS_TYPE_UTF8MB4_PERSIAN_UCA_CI , 1,
CS_TYPE_UTF8MB4_ESPERANTO_UCA_CI, 1,
CS_TYPE_UTF8MB4_HUNGARIAN_UCA_CI, 1,
CS_TYPE_UTF8MB4_SINHALA_UCA_CI , 1,
CS_TYPE_UTF8MB4_GERMAN2_UCA_CI , 1,
CS_TYPE_UTF8MB4_CROATIAN_UCA_CI , 1,
CS_TYPE_UTF8MB4_UNICODE_520_CI , 1,
CS_TYPE_UTF8MB4_VIETNAMESE_CI , 1,
CS_TYPE_UTF16_ICELANDIC_UCA_CI , 1,
CS_TYPE_UTF16_LATVIAN_UCA_CI , 1,
CS_TYPE_UTF16_ROMANIAN_UCA_CI , 1,
CS_TYPE_UTF16_SLOVENIAN_UCA_CI , 1,
CS_TYPE_UTF16_POLISH_UCA_CI , 1,
CS_TYPE_UTF16_ESTONIAN_UCA_CI , 1,
CS_TYPE_UTF16_SPANISH_UCA_CI , 1,
CS_TYPE_UTF16_SWEDISH_UCA_CI , 1,
CS_TYPE_UTF16_TURKISH_UCA_CI , 1,
CS_TYPE_UTF16_CZECH_UCA_CI , 1,
CS_TYPE_UTF16_DANISH_UCA_CI , 1,
CS_TYPE_UTF16_LITHUANIAN_UCA_CI , 1,
CS_TYPE_UTF16_SLOVAK_UCA_CI , 1,
CS_TYPE_UTF16_SPANISH2_UCA_CI , 1,
CS_TYPE_UTF16_ROMAN_UCA_CI , 1,
CS_TYPE_UTF16_PERSIAN_UCA_CI , 1,
CS_TYPE_UTF16_ESPERANTO_UCA_CI , 1,
CS_TYPE_UTF16_HUNGARIAN_UCA_CI , 1,
CS_TYPE_UTF16_SINHALA_UCA_CI , 1,
CS_TYPE_UTF16_GERMAN2_UCA_CI , 1,
CS_TYPE_UTF16_CROATIAN_UCA_CI , 1,
CS_TYPE_UTF16_UNICODE_520_CI , 1,
CS_TYPE_UTF16_VIETNAMESE_CI , 1,
CS_TYPE_UTF8MB4_0900_AI_CI , 1,
CS_TYPE_UTF8MB4_DE_PB_0900_AI_CI , 1,
CS_TYPE_UTF8MB4_IS_0900_AI_CI, 1,
CS_TYPE_UTF8MB4_LV_0900_AI_CI, 1,
CS_TYPE_UTF8MB4_RO_0900_AI_CI, 1,
CS_TYPE_UTF8MB4_SL_0900_AI_CI, 1,
CS_TYPE_UTF8MB4_PL_0900_AI_CI, 1,
CS_TYPE_UTF8MB4_ET_0900_AI_CI, 1,
CS_TYPE_UTF8MB4_ES_0900_AI_CI, 1,
CS_TYPE_UTF8MB4_SV_0900_AI_CI, 1,
CS_TYPE_UTF8MB4_TR_0900_AI_CI, 1,
CS_TYPE_UTF8MB4_CS_0900_AI_CI, 1,
CS_TYPE_UTF8MB4_DA_0900_AI_CI, 1,
CS_TYPE_UTF8MB4_LT_0900_AI_CI, 1,
CS_TYPE_UTF8MB4_SK_0900_AI_CI, 1,
CS_TYPE_UTF8MB4_ES_TRAD_0900_AI_CI, 1,
CS_TYPE_UTF8MB4_LA_0900_AI_CI, 1,
CS_TYPE_UTF8MB4_EO_0900_AI_CI, 1,
CS_TYPE_UTF8MB4_HU_0900_AI_CI, 1,
CS_TYPE_UTF8MB4_HR_0900_AI_CI, 1,
CS_TYPE_UTF8MB4_VI_0900_AI_CI, 1,
CS_TYPE_UTF8MB4_0900_AS_CS, 1,
CS_TYPE_UTF8MB4_DE_PB_0900_AS_CS , 1,
CS_TYPE_UTF8MB4_IS_0900_AS_CS, 1,
CS_TYPE_UTF8MB4_LV_0900_AS_CS, 1,
CS_TYPE_UTF8MB4_RO_0900_AS_CS, 1,
CS_TYPE_UTF8MB4_SL_0900_AS_CS, 1,
CS_TYPE_UTF8MB4_PL_0900_AS_CS, 1,
CS_TYPE_UTF8MB4_ET_0900_AS_CS, 1,
CS_TYPE_UTF8MB4_ES_0900_AS_CS, 1,
CS_TYPE_UTF8MB4_SV_0900_AS_CS, 1,
CS_TYPE_UTF8MB4_TR_0900_AS_CS, 1,
CS_TYPE_UTF8MB4_CS_0900_AS_CS, 1,
CS_TYPE_UTF8MB4_DA_0900_AS_CS, 1,
CS_TYPE_UTF8MB4_LT_0900_AS_CS, 1,
CS_TYPE_UTF8MB4_SK_0900_AS_CS, 1,
CS_TYPE_UTF8MB4_ES_TRAD_0900_AS_CS, 1,
CS_TYPE_UTF8MB4_LA_0900_AS_CS , 1,
CS_TYPE_UTF8MB4_EO_0900_AS_CS , 1,
CS_TYPE_UTF8MB4_HU_0900_AS_CS, 1,
CS_TYPE_UTF8MB4_HR_0900_AS_CS, 1,
CS_TYPE_UTF8MB4_VI_0900_AS_CS , 1,
CS_TYPE_UTF8MB4_JA_0900_AS_CS , 1,
CS_TYPE_UTF8MB4_JA_0900_AS_CS_KS , 1,
CS_TYPE_UTF8MB4_0900_AS_CI, 1,
CS_TYPE_UTF8MB4_RU_0900_AI_CI, 1,
CS_TYPE_UTF8MB4_RU_0900_AS_CS, 1,
CS_TYPE_UTF8MB4_ZH_0900_AS_CS, 1,
CS_TYPE_UTF8MB4_0900_BIN, 1,
CS_TYPE_UTF8MB4_NB_0900_AI_CI, 1,
CS_TYPE_UTF8MB4_NB_0900_AS_CS, 1,
CS_TYPE_UTF8MB4_NN_0900_AI_CI, 1,
CS_TYPE_UTF8MB4_NN_0900_AS_CS, 1,
CS_TYPE_UTF8MB4_SR_LATN_0900_AI_CI, 1,
CS_TYPE_UTF8MB4_SR_LATN_0900_AS_CS, 1,
CS_TYPE_UTF8MB4_BS_0900_AI_CI, 1,
CS_TYPE_UTF8MB4_BS_0900_AS_CS, 1,
CS_TYPE_UTF8MB4_BG_0900_AI_CI, 1,
CS_TYPE_UTF8MB4_BG_0900_AS_CS, 1,
CS_TYPE_UTF8MB4_GL_0900_AI_CI, 1,
CS_TYPE_UTF8MB4_GL_0900_AS_CS, 1,
CS_TYPE_UTF8MB4_MN_CYRL_0900_AI_CI, 1,
CS_TYPE_UTF8MB4_MN_CYRL_0900_AS_CS, 1,
CS_TYPE_DEC8_SWEDISH_CI, 1,
CS_TYPE_DEC8_BIN, 1> SupportedCollections;
// bool is_calc_with_end_space(ObObjType type1, ObObjType type2,
// bool is_oracle_mode,
@ -623,8 +481,9 @@ typedef ObConstIntMapping<0,
// || (ObNVarchar2Type == type2) );
// }
//
template <ObCollationType CS_TYPE, bool WITH_END_SPACE>
struct ObDatumStrCmp : public ObDefined<SupportedCollections::liner_search(CS_TYPE)>
struct ObDatumStrCmp : public ObDefined<SupportedCollection<CS_TYPE>::defined_>
{
inline static int cmp(const ObDatum &l, const ObDatum &r, int &cmp_ret)
{ // ToDo: @gehao need to handle ObDatum has_lob_header flags ?
@ -636,7 +495,7 @@ struct ObDatumStrCmp : public ObDefined<SupportedCollections::liner_search(CS_TY
};
template <ObCollationType CS_TYPE, bool WITH_END_SPACE>
struct ObDatumTextCmp : public ObDefined<SupportedCollections::liner_search(CS_TYPE)>
struct ObDatumTextCmp : public ObDefined<SupportedCollection<CS_TYPE>::defined_>
{
inline static int cmp(const ObDatum &l, const ObDatum &r, int &cmp_ret)
{
@ -675,7 +534,7 @@ struct ObDatumTextCmp : public ObDefined<SupportedCollections::liner_search(CS_T
};
template <ObCollationType CS_TYPE, bool WITH_END_SPACE>
struct ObDatumTextStringCmp : public ObDefined<SupportedCollections::liner_search(CS_TYPE)>
struct ObDatumTextStringCmp : public ObDefined<SupportedCollection<CS_TYPE>::defined_>
{
inline static int cmp(const ObDatum &l, const ObDatum &r, int &cmp_ret)
{
@ -706,7 +565,7 @@ struct ObDatumTextStringCmp : public ObDefined<SupportedCollections::liner_searc
};
template <ObCollationType CS_TYPE, bool WITH_END_SPACE>
struct ObDatumStringTextCmp : public ObDefined<SupportedCollections::liner_search(CS_TYPE)>
struct ObDatumStringTextCmp : public ObDefined<SupportedCollection<CS_TYPE>::defined_>
{
inline static int cmp(const ObDatum &l, const ObDatum &r, int &cmp_ret)
{

View File

@ -27,7 +27,7 @@ namespace common {
ObDatumCmpFuncType NULLSAFE_TYPE_CMP_FUNCS[ObMaxType][ObMaxType][2];
bool g_type_cmp_array_inited = Ob2DArrayConstIniter<ObMaxType, ObMaxType, InitTypeCmpArray>::init();
// bool g_type_cmp_array_inited = Ob2DArrayConstIniter<ObMaxType, ObMaxType, InitTypeCmpArray>::init();
ObDatumCmpFuncType NULLSAFE_TC_CMP_FUNCS[ObMaxTC][ObMaxTC][2];

View File

@ -21,30 +21,14 @@ extern void __init_datum_func4();
extern void __init_datum_func5();
extern void __init_datum_func6();
extern void __init_datum_func7();
extern void __init_datum_func8();
extern void __init_datum_func9();
extern void __init_datum_func10();
extern void __init_datum_func11();
extern void __init_datum_func12();
extern void __init_datum_func13();
extern void __init_datum_func14();
extern void __init_datum_func15();
extern void __init_datum_func16();
extern void __init_datum_func17();
extern void __init_datum_func18();
extern void __init_datum_func19();
extern void __init_datum_func20();
extern void __init_datum_func21();
extern void __init_datum_func22();
extern void __init_datum_func23();
extern void __init_datum_func24();
extern void __init_datum_func25();
extern void __init_datum_func26();
extern void __init_datum_func27();
extern void __init_datum_func28();
extern void __init_datum_func29();
extern void __init_datum_func30();
extern void __init_datum_func31();
// extern void __init_datum_func8();
// extern void __init_datum_func9();
// extern void __init_datum_func10();
// extern void __init_datum_func11();
// extern void __init_datum_func12();
// extern void __init_datum_func13();
// extern void __init_datum_func14();
// extern void __init_datum_func15();
void __init_datum_funcs_all()
{
@ -56,30 +40,14 @@ void __init_datum_funcs_all()
__init_datum_func5();
__init_datum_func6();
__init_datum_func7();
__init_datum_func8();
__init_datum_func9();
__init_datum_func10();
__init_datum_func11();
__init_datum_func12();
__init_datum_func13();
__init_datum_func14();
__init_datum_func15();
__init_datum_func16();
__init_datum_func17();
__init_datum_func18();
__init_datum_func19();
__init_datum_func20();
__init_datum_func21();
__init_datum_func22();
__init_datum_func23();
__init_datum_func24();
__init_datum_func25();
__init_datum_func26();
__init_datum_func27();
__init_datum_func28();
__init_datum_func29();
__init_datum_func30();
__init_datum_func31();
// __init_datum_func8();
// __init_datum_func9();
// __init_datum_func10();
// __init_datum_func11();
// __init_datum_func12();
// __init_datum_func13();
// __init_datum_func14();
// __init_datum_func15();
}
} // end common
} // end oceanbase

View File

@ -26,7 +26,7 @@ namespace oceanbase
using namespace sql;
namespace common
{
static const int COMPILATION_UNIT = 32;
static const int COMPILATION_UNIT = 8;
#define DEF_COMPILATION_VARS(name, max_val, unit_idx) \
constexpr int name##_unit_size = \
@ -42,8 +42,8 @@ static const int COMPILATION_UNIT = 32;
DEF_COMPILATION_VARS(ty, ObMaxType, unit_idx); \
DEF_COMPILATION_VARS(tc, ObMaxTC, unit_idx); \
DEF_COMPILATION_VARS(ty_basic, ObMaxType, unit_idx); \
Ob2DArrayConstIniter<ty_end, ObMaxType, InitTypeCmpArray, ty_start, 0>::init(); \
Ob2DArrayConstIniter<tc_end, ObMaxTC, InitTCCmpArray, tc_start, 0>::init(); \
Ob2DArrayConstIniter<ty_end, ObMaxType, TypeCmpIniter, ty_start, 0>::init(); \
Ob2DArrayConstIniter<tc_end, ObMaxTC, TCCmpIniter, tc_start, 0>::init(); \
ObArrayConstIniter<ty_basic_end, InitBasicFuncArray, ty_basic_start>::init(); \
}

View File

@ -1,21 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_DATUM_FUNC_INIT(16);
} // end common
} // end oceanbase

View File

@ -1,21 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_DATUM_FUNC_INIT(17);
} // end common
} // end oceanbase

View File

@ -1,21 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_DATUM_FUNC_INIT(18);
} // end common
} // end oceanbase

View File

@ -1,21 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_DATUM_FUNC_INIT(19);
} // end common
} // end oceanbase

View File

@ -1,21 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_DATUM_FUNC_INIT(20);
} // end common
} // end oceanbase

View File

@ -1,21 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_DATUM_FUNC_INIT(21);
} // end common
} // end oceanbase

View File

@ -1,21 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_DATUM_FUNC_INIT(22);
} // end common
} // end oceanbase

View File

@ -1,21 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_DATUM_FUNC_INIT(23);
} // end common
} // end oceanbase

View File

@ -1,21 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_DATUM_FUNC_INIT(24);
} // end common
} // end oceanbase

View File

@ -1,21 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_DATUM_FUNC_INIT(25);
} // end common
} // end oceanbase

View File

@ -1,21 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_DATUM_FUNC_INIT(26);
} // end common
} // end oceanbase

View File

@ -1,21 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_DATUM_FUNC_INIT(27);
} // end common
} // end oceanbase

View File

@ -1,21 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_DATUM_FUNC_INIT(28);
} // end common
} // end oceanbase

View File

@ -1,21 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_DATUM_FUNC_INIT(29);
} // end common
} // end oceanbase

View File

@ -1,21 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_DATUM_FUNC_INIT(30);
} // end common
} // end oceanbase

View File

@ -1,21 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_DATUM_FUNC_INIT(31);
} // end common
} // end oceanbase

View File

@ -579,8 +579,12 @@ extern ObExprBasicFuncs EXPR_BASIC_UDT_FUNCS[1];
extern ObExprBasicFuncs DECINT_BASIC_FUNCS[DECIMAL_INT_MAX];
extern ObExprBasicFuncs EXPR_BASIC_COLLECTION_FUNCS[2];
struct DummyIniter
{
static void init_array() {}
};
template <int X, int Y>
template <int X, int Y, bool defined = true>
struct InitTypeCmpArray
{
template <bool... args>
@ -594,8 +598,14 @@ struct InitTypeCmpArray
}
};
template<int X, int Y>
struct InitTypeCmpArray<X, Y, false>: public DummyIniter {};
template<int X, int Y>
using TypeCmpIniter = InitTypeCmpArray<X, Y, datum_cmp::ObDatumTypeCmp<static_cast<ObObjType>(X), static_cast<ObObjType>(Y)>::defined_>;
// init type class compare function array
template <int X, int Y>
template <int X, int Y, bool defined = true>
struct InitTCCmpArray
{
template <bool... args>
@ -611,6 +621,12 @@ struct InitTCCmpArray
}
};
template<int X, int Y>
struct InitTCCmpArray<X, Y, false>: public DummyIniter {};
template<int X, int Y>
using TCCmpIniter = InitTCCmpArray<X, Y, datum_cmp::ObDatumTCCmp<static_cast<ObObjTypeClass>(X),static_cast<ObObjTypeClass>(Y)>::defined_>;
// init basic function array
template <int X>
struct InitBasicFuncArray
@ -660,7 +676,7 @@ struct InitBasicFuncArray
template<ObCollationType col>
struct CollationDefined
{
static const bool value_ = datum_cmp::SupportedCollections::liner_search(col);
static const bool value_ = datum_cmp::SupportedCollection<col>::defined_;
};
// init basic string function array
@ -694,7 +710,7 @@ struct InitBasicStrFuncArray<X, Y, true>
static_cast<bool>(Y)>;
static void init_array()
{
if (datum_cmp::SupportedCollections::liner_search(static_cast<ObCollationType>(X))) {
if (datum_cmp::SupportedCollection<static_cast<ObCollationType>(X)>::defined_) {
auto &basic_funcs = EXPR_BASIC_STR_FUNCS;
basic_funcs[X][Y][0].default_hash_ = Hash<ObDefaultHash, false>::hash;
basic_funcs[X][Y][0].default_hash_batch_ = Hash<ObDefaultHash, false>::hash_batch;
@ -713,10 +729,10 @@ struct InitBasicStrFuncArray<X, Y, true>
basic_funcs[X][Y][1].default_hash_batch_ = Hash<ObDefaultHash, true>::hash_batch;
basic_funcs[X][Y][1].murmur_hash_ = Hash<ObMurmurHash, true>::hash;
basic_funcs[X][Y][1].murmur_hash_batch_ = Hash<ObMurmurHash, true>::hash_batch;
basic_funcs[X][Y][1].xx_hash_ = Hash<ObXxHash, true>::hash;
basic_funcs[X][Y][1].xx_hash_batch_ = Hash<ObXxHash, true>::hash_batch;
basic_funcs[X][Y][1].wy_hash_ = Hash<ObWyHash, true>::hash;
basic_funcs[X][Y][1].wy_hash_batch_ = Hash<ObWyHash, true>::hash_batch;
// basic_funcs[X][Y][1].xx_hash_ = Hash<ObXxHash, true>::hash;
// basic_funcs[X][Y][1].xx_hash_batch_ = Hash<ObXxHash, true>::hash_batch;
// basic_funcs[X][Y][1].wy_hash_ = Hash<ObWyHash, true>::hash;
// basic_funcs[X][Y][1].wy_hash_batch_ = Hash<ObWyHash, true>::hash_batch;
// Notice: ObLobType cannot compare, but is_locator = 1 used for other lob types
basic_funcs[X][Y][1].null_first_cmp_ = DefText::defined_ ? &TextCmp<1>::cmp : NULL;
@ -868,10 +884,10 @@ struct InitBasicJsonFuncArray
basic_funcs[1].default_hash_batch_= Hash<ObDefaultHash, true>::hash_batch;
basic_funcs[1].murmur_hash_ = Hash<ObMurmurHash, true>::hash;
basic_funcs[1].murmur_hash_batch_ = Hash<ObMurmurHash, true>::hash_batch;
basic_funcs[1].xx_hash_ = Hash<ObXxHash, true>::hash;
basic_funcs[1].xx_hash_batch_ = Hash<ObXxHash, true>::hash_batch;
basic_funcs[1].wy_hash_ = Hash<ObWyHash, true>::hash;
basic_funcs[1].wy_hash_batch_ = Hash<ObWyHash, true>::hash_batch;
// basic_funcs[1].xx_hash_ = Hash<ObXxHash, true>::hash;
// basic_funcs[1].xx_hash_batch_ = Hash<ObXxHash, true>::hash_batch;
// basic_funcs[1].wy_hash_ = Hash<ObWyHash, true>::hash;
// basic_funcs[1].wy_hash_batch_ = Hash<ObWyHash, true>::hash_batch;
basic_funcs[1].null_first_cmp_ = TypeDef::defined_
? &TypeCmp<1, 1>::cmp
: TCDef::defined_ ? &TCCmp<1>::cmp : NULL;
@ -933,10 +949,10 @@ struct InitBasicGeoFuncArray
basic_funcs[0].default_hash_batch_= Hash<ObDefaultHash, false>::hash_batch;
basic_funcs[0].murmur_hash_ = Hash<ObMurmurHash, false>::hash;
basic_funcs[0].murmur_hash_batch_ = Hash<ObMurmurHash, false>::hash_batch;
basic_funcs[0].xx_hash_ = Hash<ObXxHash, false>::hash;
basic_funcs[0].xx_hash_batch_ = Hash<ObXxHash, false>::hash_batch;
basic_funcs[0].wy_hash_ = Hash<ObWyHash, false>::hash;
basic_funcs[0].wy_hash_batch_ = Hash<ObWyHash, false>::hash_batch;
// basic_funcs[0].xx_hash_ = Hash<ObXxHash, false>::hash;
// basic_funcs[0].xx_hash_batch_ = Hash<ObXxHash, false>::hash_batch;
// basic_funcs[0].wy_hash_ = Hash<ObWyHash, false>::hash;
// basic_funcs[0].wy_hash_batch_ = Hash<ObWyHash, false>::hash_batch;
basic_funcs[0].null_first_cmp_ = TypeDef::defined_
? &TypeCmp<1, 0>::cmp
: TCDef::defined_ ? &TCCmp<1>::cmp : NULL;

View File

@ -0,0 +1,183 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#ifndef OB_DEFINED_COLLATIONS_H_
#define OB_DEFINED_COLLATIONS_H_
#include "lib/charset/ob_charset.h"
namespace oceanbase
{
namespace common
{
namespace datum_cmp
{
template<ObCollationType coll>
struct SupportedCollection
{
static const bool defined_ = false;
};
#define DEF_SUPPORT_COLL(cs) \
template <> \
struct SupportedCollection<cs> \
{ \
static const bool defined_ = true; \
};
DEF_SUPPORT_COLL(CS_TYPE_GBK_CHINESE_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_GENERAL_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_BIN)
DEF_SUPPORT_COLL(CS_TYPE_UTF16_GENERAL_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF16_BIN)
DEF_SUPPORT_COLL(CS_TYPE_BINARY)
DEF_SUPPORT_COLL(CS_TYPE_GBK_BIN)
DEF_SUPPORT_COLL(CS_TYPE_UTF16_UNICODE_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_UNICODE_CI)
DEF_SUPPORT_COLL(CS_TYPE_GB18030_CHINESE_CI)
DEF_SUPPORT_COLL(CS_TYPE_GB18030_BIN)
DEF_SUPPORT_COLL(CS_TYPE_LATIN1_SWEDISH_CI)
DEF_SUPPORT_COLL(CS_TYPE_LATIN1_BIN)
DEF_SUPPORT_COLL(CS_TYPE_GB18030_2022_BIN)
DEF_SUPPORT_COLL(CS_TYPE_GB18030_2022_PINYIN_CI)
DEF_SUPPORT_COLL(CS_TYPE_GB18030_2022_PINYIN_CS)
DEF_SUPPORT_COLL(CS_TYPE_GB18030_2022_RADICAL_CI)
DEF_SUPPORT_COLL(CS_TYPE_GB18030_2022_RADICAL_CS)
DEF_SUPPORT_COLL(CS_TYPE_GB18030_2022_STROKE_CI)
DEF_SUPPORT_COLL(CS_TYPE_GB18030_2022_STROKE_CS)
DEF_SUPPORT_COLL(CS_TYPE_ASCII_GENERAL_CI)
DEF_SUPPORT_COLL(CS_TYPE_ASCII_BIN)
DEF_SUPPORT_COLL(CS_TYPE_TIS620_THAI_CI)
DEF_SUPPORT_COLL(CS_TYPE_TIS620_BIN)
DEF_SUPPORT_COLL(CS_TYPE_UTF16LE_GENERAL_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF16LE_BIN)
DEF_SUPPORT_COLL(CS_TYPE_SJIS_JAPANESE_CI)
DEF_SUPPORT_COLL(CS_TYPE_SJIS_BIN)
DEF_SUPPORT_COLL(CS_TYPE_BIG5_CHINESE_CI)
DEF_SUPPORT_COLL(CS_TYPE_BIG5_BIN)
DEF_SUPPORT_COLL(CS_TYPE_HKSCS_BIN)
DEF_SUPPORT_COLL(CS_TYPE_HKSCS31_BIN)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_ICELANDIC_UCA_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_LATVIAN_UCA_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_ROMANIAN_UCA_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_SLOVENIAN_UCA_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_POLISH_UCA_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_ESTONIAN_UCA_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_SPANISH_UCA_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_SWEDISH_UCA_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_TURKISH_UCA_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_CZECH_UCA_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_DANISH_UCA_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_LITHUANIAN_UCA_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_SLOVAK_UCA_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_SPANISH2_UCA_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_ROMAN_UCA_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_PERSIAN_UCA_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_ESPERANTO_UCA_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_HUNGARIAN_UCA_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_SINHALA_UCA_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_GERMAN2_UCA_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_CROATIAN_UCA_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_UNICODE_520_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_VIETNAMESE_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF16_ICELANDIC_UCA_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF16_LATVIAN_UCA_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF16_ROMANIAN_UCA_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF16_SLOVENIAN_UCA_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF16_POLISH_UCA_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF16_ESTONIAN_UCA_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF16_SPANISH_UCA_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF16_SWEDISH_UCA_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF16_TURKISH_UCA_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF16_CZECH_UCA_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF16_DANISH_UCA_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF16_LITHUANIAN_UCA_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF16_SLOVAK_UCA_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF16_SPANISH2_UCA_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF16_ROMAN_UCA_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF16_PERSIAN_UCA_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF16_ESPERANTO_UCA_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF16_HUNGARIAN_UCA_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF16_SINHALA_UCA_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF16_GERMAN2_UCA_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF16_CROATIAN_UCA_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF16_UNICODE_520_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF16_VIETNAMESE_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_0900_AI_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_DE_PB_0900_AI_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_IS_0900_AI_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_LV_0900_AI_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_RO_0900_AI_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_SL_0900_AI_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_PL_0900_AI_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_ET_0900_AI_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_ES_0900_AI_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_SV_0900_AI_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_TR_0900_AI_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_CS_0900_AI_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_DA_0900_AI_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_LT_0900_AI_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_SK_0900_AI_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_ES_TRAD_0900_AI_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_LA_0900_AI_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_EO_0900_AI_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_HU_0900_AI_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_HR_0900_AI_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_VI_0900_AI_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_0900_AS_CS)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_DE_PB_0900_AS_CS)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_IS_0900_AS_CS)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_LV_0900_AS_CS)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_RO_0900_AS_CS)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_SL_0900_AS_CS)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_PL_0900_AS_CS)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_ET_0900_AS_CS)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_ES_0900_AS_CS)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_SV_0900_AS_CS)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_TR_0900_AS_CS)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_CS_0900_AS_CS)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_DA_0900_AS_CS)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_LT_0900_AS_CS)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_SK_0900_AS_CS)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_ES_TRAD_0900_AS_CS)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_LA_0900_AS_CS)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_EO_0900_AS_CS)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_HU_0900_AS_CS)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_HR_0900_AS_CS)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_VI_0900_AS_CS)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_JA_0900_AS_CS)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_JA_0900_AS_CS_KS)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_0900_AS_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_RU_0900_AI_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_RU_0900_AS_CS)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_ZH_0900_AS_CS)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_0900_BIN)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_NB_0900_AI_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_NB_0900_AS_CS)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_NN_0900_AI_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_NN_0900_AS_CS)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_SR_LATN_0900_AI_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_SR_LATN_0900_AS_CS)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_BS_0900_AI_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_BS_0900_AS_CS)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_BG_0900_AI_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_BG_0900_AS_CS)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_GL_0900_AI_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_GL_0900_AS_CS)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_MN_CYRL_0900_AI_CI)
DEF_SUPPORT_COLL(CS_TYPE_UTF8MB4_MN_CYRL_0900_AS_CS)
DEF_SUPPORT_COLL(CS_TYPE_DEC8_SWEDISH_CI)
DEF_SUPPORT_COLL(CS_TYPE_DEC8_BIN)
} // end datum_cmp
} // end common
} // end oceanbase
#endif//OB_DEFINED_COLLATIONS_H_

View File

@ -166,9 +166,7 @@ namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(%COLL_NAME0%, %unit_idx0%);
DEF_STR_FUNC_INIT(%COLL_NAME1%, %unit_idx1%);
DEF_STR_FUNC_INIT(%COLL_NAME2%, %unit_idx2%);
%COMPILE_FUN_LIST%
} // end common
} // end oceanbase'''
@ -205,14 +203,16 @@ namespace common
#define DEF_STR_FUNC_INIT(COLLATION, unit_idx) \\
void __init_str_func##unit_idx() \\
{ \\
ObArrayConstIniter<COLLATION + 1, str_cmp_initer, COLLATION>::init(); \\
Ob2DArrayConstIniter<COLLATION + 1, 2, str_basic_initer, COLLATION, 0>::init(); \\
str_cmp_initer<COLLATION>::init_array(); \\
str_basic_initer<COLLATION, 0>::init_array(); \\
str_basic_initer<COLLATION, 1>::init_array(); \\
}
} // end common
} // end oceanbase
#endif // OCEANBASE_STR_DATUM_FUNCS_IPP'''
COMPILE_UNIT_CNT = 8
def rm_compile_part():
rm_str = "rm -rf ob_str_datum_funcs_compilation_*.cpp"
@ -225,9 +225,13 @@ def rm_compile_part():
def generate_compile_parts():
fname_temp = "ob_str_datum_funcs_compilation_%d.cpp"
for start in range(0, len(DEFINED_COLLS), 3):
text = compile_template
for i in range(3):
fn_cnt = int((len(DEFINED_COLLS) + COMPILE_UNIT_CNT - 1) / COMPILE_UNIT_CNT)
fn_list_text = ""
for i in range(fn_cnt):
fn_list_text += "DEF_STR_FUNC_INIT(%COLL_NAME" + str(i) + "%, %unit_idx" + str(i) + "%);\n"
for start in range(0, len(DEFINED_COLLS), fn_cnt):
text = compile_template.replace("%COMPILE_FUN_LIST%", fn_list_text)
for i in range(fn_cnt):
coll_temp = "%COLL_NAME" + str(i) + "%"
idx_temp = "%unit_idx" + str(i) + "%"
if start + i >= len(DEFINED_COLLS):
@ -235,7 +239,7 @@ def generate_compile_parts():
else:
text = text.replace(coll_temp, DEFINED_COLLS[start + i])
text = text.replace(idx_temp, str(start + i))
f_name = fname_temp % (start / 3)
f_name = fname_temp % (start / fn_cnt)
with open(f_name, 'a') as f:
f.write(text)

View File

@ -19,5 +19,21 @@ namespace common
DEF_STR_FUNC_INIT(CS_TYPE_GBK_CHINESE_CI, 0);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_GENERAL_CI, 1);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_BIN, 2);
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_GENERAL_CI, 3);
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_BIN, 4);
DEF_STR_FUNC_INIT(CS_TYPE_BINARY, 5);
DEF_STR_FUNC_INIT(CS_TYPE_GBK_BIN, 6);
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_UNICODE_CI, 7);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_UNICODE_CI, 8);
DEF_STR_FUNC_INIT(CS_TYPE_GB18030_CHINESE_CI, 9);
DEF_STR_FUNC_INIT(CS_TYPE_GB18030_BIN, 10);
DEF_STR_FUNC_INIT(CS_TYPE_LATIN1_SWEDISH_CI, 11);
DEF_STR_FUNC_INIT(CS_TYPE_LATIN1_BIN, 12);
DEF_STR_FUNC_INIT(CS_TYPE_GB18030_2022_BIN, 13);
DEF_STR_FUNC_INIT(CS_TYPE_GB18030_2022_PINYIN_CI, 14);
DEF_STR_FUNC_INIT(CS_TYPE_GB18030_2022_PINYIN_CS, 15);
DEF_STR_FUNC_INIT(CS_TYPE_GB18030_2022_RADICAL_CI, 16);
DEF_STR_FUNC_INIT(CS_TYPE_GB18030_2022_RADICAL_CS, 17);
} // end common
} // end oceanbase

View File

@ -16,8 +16,24 @@ namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_GENERAL_CI, 3);
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_BIN, 4);
DEF_STR_FUNC_INIT(CS_TYPE_BINARY, 5);
DEF_STR_FUNC_INIT(CS_TYPE_GB18030_2022_STROKE_CI, 18);
DEF_STR_FUNC_INIT(CS_TYPE_GB18030_2022_STROKE_CS, 19);
DEF_STR_FUNC_INIT(CS_TYPE_ASCII_GENERAL_CI, 20);
DEF_STR_FUNC_INIT(CS_TYPE_ASCII_BIN, 21);
DEF_STR_FUNC_INIT(CS_TYPE_TIS620_THAI_CI, 22);
DEF_STR_FUNC_INIT(CS_TYPE_TIS620_BIN, 23);
DEF_STR_FUNC_INIT(CS_TYPE_UTF16LE_GENERAL_CI, 24);
DEF_STR_FUNC_INIT(CS_TYPE_UTF16LE_BIN, 25);
DEF_STR_FUNC_INIT(CS_TYPE_SJIS_JAPANESE_CI, 26);
DEF_STR_FUNC_INIT(CS_TYPE_SJIS_BIN, 27);
DEF_STR_FUNC_INIT(CS_TYPE_BIG5_CHINESE_CI, 28);
DEF_STR_FUNC_INIT(CS_TYPE_BIG5_BIN, 29);
DEF_STR_FUNC_INIT(CS_TYPE_HKSCS_BIN, 30);
DEF_STR_FUNC_INIT(CS_TYPE_HKSCS31_BIN, 31);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_ICELANDIC_UCA_CI, 32);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_LATVIAN_UCA_CI, 33);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_ROMANIAN_UCA_CI, 34);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_SLOVENIAN_UCA_CI, 35);
} // end common
} // end oceanbase

View File

@ -1,23 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_str_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(CS_TYPE_HKSCS_BIN, 30);
DEF_STR_FUNC_INIT(CS_TYPE_HKSCS31_BIN, 31);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_ICELANDIC_UCA_CI, 32);
} // end common
} // end oceanbase

View File

@ -1,23 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_str_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_LATVIAN_UCA_CI, 33);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_ROMANIAN_UCA_CI, 34);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_SLOVENIAN_UCA_CI, 35);
} // end common
} // end oceanbase

View File

@ -1,23 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_str_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_POLISH_UCA_CI, 36);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_ESTONIAN_UCA_CI, 37);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_SPANISH_UCA_CI, 38);
} // end common
} // end oceanbase

View File

@ -1,23 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_str_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_SWEDISH_UCA_CI, 39);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_TURKISH_UCA_CI, 40);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_CZECH_UCA_CI, 41);
} // end common
} // end oceanbase

View File

@ -1,23 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_str_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_DANISH_UCA_CI, 42);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_LITHUANIAN_UCA_CI, 43);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_SLOVAK_UCA_CI, 44);
} // end common
} // end oceanbase

View File

@ -1,23 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_str_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_SPANISH2_UCA_CI, 45);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_ROMAN_UCA_CI, 46);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_PERSIAN_UCA_CI, 47);
} // end common
} // end oceanbase

View File

@ -1,23 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_str_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_ESPERANTO_UCA_CI, 48);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_HUNGARIAN_UCA_CI, 49);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_SINHALA_UCA_CI, 50);
} // end common
} // end oceanbase

View File

@ -1,23 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_str_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_GERMAN2_UCA_CI, 51);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_CROATIAN_UCA_CI, 52);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_UNICODE_520_CI, 53);
} // end common
} // end oceanbase

View File

@ -1,23 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_str_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_VIETNAMESE_CI, 54);
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_ICELANDIC_UCA_CI, 55);
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_LATVIAN_UCA_CI, 56);
} // end common
} // end oceanbase

View File

@ -1,23 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_str_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_ROMANIAN_UCA_CI, 57);
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_SLOVENIAN_UCA_CI, 58);
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_POLISH_UCA_CI, 59);
} // end common
} // end oceanbase

View File

@ -16,8 +16,24 @@ namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(CS_TYPE_GBK_BIN, 6);
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_UNICODE_CI, 7);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_UNICODE_CI, 8);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_POLISH_UCA_CI, 36);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_ESTONIAN_UCA_CI, 37);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_SPANISH_UCA_CI, 38);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_SWEDISH_UCA_CI, 39);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_TURKISH_UCA_CI, 40);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_CZECH_UCA_CI, 41);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_DANISH_UCA_CI, 42);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_LITHUANIAN_UCA_CI, 43);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_SLOVAK_UCA_CI, 44);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_SPANISH2_UCA_CI, 45);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_ROMAN_UCA_CI, 46);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_PERSIAN_UCA_CI, 47);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_ESPERANTO_UCA_CI, 48);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_HUNGARIAN_UCA_CI, 49);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_SINHALA_UCA_CI, 50);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_GERMAN2_UCA_CI, 51);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_CROATIAN_UCA_CI, 52);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_UNICODE_520_CI, 53);
} // end common
} // end oceanbase

View File

@ -1,23 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_str_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_ESTONIAN_UCA_CI, 60);
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_SPANISH_UCA_CI, 61);
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_SWEDISH_UCA_CI, 62);
} // end common
} // end oceanbase

View File

@ -1,23 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_str_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_TURKISH_UCA_CI, 63);
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_CZECH_UCA_CI, 64);
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_DANISH_UCA_CI, 65);
} // end common
} // end oceanbase

View File

@ -1,23 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_str_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_LITHUANIAN_UCA_CI, 66);
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_SLOVAK_UCA_CI, 67);
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_SPANISH2_UCA_CI, 68);
} // end common
} // end oceanbase

View File

@ -1,23 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_str_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_ROMAN_UCA_CI, 69);
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_PERSIAN_UCA_CI, 70);
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_ESPERANTO_UCA_CI, 71);
} // end common
} // end oceanbase

View File

@ -1,23 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_str_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_HUNGARIAN_UCA_CI, 72);
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_SINHALA_UCA_CI, 73);
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_GERMAN2_UCA_CI, 74);
} // end common
} // end oceanbase

View File

@ -1,23 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_str_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_CROATIAN_UCA_CI, 75);
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_UNICODE_520_CI, 76);
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_VIETNAMESE_CI, 77);
} // end common
} // end oceanbase

View File

@ -1,23 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_str_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_0900_AI_CI, 78);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_DE_PB_0900_AI_CI, 79);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_IS_0900_AI_CI, 80);
} // end common
} // end oceanbase

View File

@ -1,23 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_str_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_LV_0900_AI_CI, 81);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_RO_0900_AI_CI, 82);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_SL_0900_AI_CI, 83);
} // end common
} // end oceanbase

View File

@ -1,23 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_str_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_PL_0900_AI_CI, 84);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_ET_0900_AI_CI, 85);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_ES_0900_AI_CI, 86);
} // end common
} // end oceanbase

View File

@ -1,23 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_str_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_SV_0900_AI_CI, 87);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_TR_0900_AI_CI, 88);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_CS_0900_AI_CI, 89);
} // end common
} // end oceanbase

View File

@ -16,8 +16,24 @@ namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(CS_TYPE_GB18030_CHINESE_CI, 9);
DEF_STR_FUNC_INIT(CS_TYPE_GB18030_BIN, 10);
DEF_STR_FUNC_INIT(CS_TYPE_LATIN1_SWEDISH_CI, 11);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_VIETNAMESE_CI, 54);
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_ICELANDIC_UCA_CI, 55);
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_LATVIAN_UCA_CI, 56);
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_ROMANIAN_UCA_CI, 57);
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_SLOVENIAN_UCA_CI, 58);
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_POLISH_UCA_CI, 59);
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_ESTONIAN_UCA_CI, 60);
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_SPANISH_UCA_CI, 61);
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_SWEDISH_UCA_CI, 62);
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_TURKISH_UCA_CI, 63);
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_CZECH_UCA_CI, 64);
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_DANISH_UCA_CI, 65);
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_LITHUANIAN_UCA_CI, 66);
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_SLOVAK_UCA_CI, 67);
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_SPANISH2_UCA_CI, 68);
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_ROMAN_UCA_CI, 69);
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_PERSIAN_UCA_CI, 70);
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_ESPERANTO_UCA_CI, 71);
} // end common
} // end oceanbase

View File

@ -1,23 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_str_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_DA_0900_AI_CI, 90);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_LT_0900_AI_CI, 91);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_SK_0900_AI_CI, 92);
} // end common
} // end oceanbase

View File

@ -1,23 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_str_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_ES_TRAD_0900_AI_CI, 93);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_LA_0900_AI_CI, 94);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_EO_0900_AI_CI, 95);
} // end common
} // end oceanbase

View File

@ -1,23 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_str_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_HU_0900_AI_CI, 96);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_HR_0900_AI_CI, 97);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_VI_0900_AI_CI, 98);
} // end common
} // end oceanbase

View File

@ -1,23 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_str_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_0900_AS_CS, 99);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_DE_PB_0900_AS_CS, 100);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_IS_0900_AS_CS, 101);
} // end common
} // end oceanbase

View File

@ -1,23 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_str_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_LV_0900_AS_CS, 102);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_RO_0900_AS_CS, 103);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_SL_0900_AS_CS, 104);
} // end common
} // end oceanbase

View File

@ -1,23 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_str_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_PL_0900_AS_CS, 105);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_ET_0900_AS_CS, 106);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_ES_0900_AS_CS, 107);
} // end common
} // end oceanbase

View File

@ -1,23 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_str_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_SV_0900_AS_CS, 108);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_TR_0900_AS_CS, 109);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_CS_0900_AS_CS, 110);
} // end common
} // end oceanbase

View File

@ -1,23 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_str_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_DA_0900_AS_CS, 111);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_LT_0900_AS_CS, 112);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_SK_0900_AS_CS, 113);
} // end common
} // end oceanbase

View File

@ -1,23 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_str_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_ES_TRAD_0900_AS_CS, 114);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_LA_0900_AS_CS, 115);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_EO_0900_AS_CS, 116);
} // end common
} // end oceanbase

View File

@ -1,23 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_str_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_HU_0900_AS_CS, 117);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_HR_0900_AS_CS, 118);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_VI_0900_AS_CS, 119);
} // end common
} // end oceanbase

View File

@ -16,8 +16,24 @@ namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(CS_TYPE_LATIN1_BIN, 12);
DEF_STR_FUNC_INIT(CS_TYPE_GB18030_2022_BIN, 13);
DEF_STR_FUNC_INIT(CS_TYPE_GB18030_2022_PINYIN_CI, 14);
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_HUNGARIAN_UCA_CI, 72);
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_SINHALA_UCA_CI, 73);
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_GERMAN2_UCA_CI, 74);
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_CROATIAN_UCA_CI, 75);
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_UNICODE_520_CI, 76);
DEF_STR_FUNC_INIT(CS_TYPE_UTF16_VIETNAMESE_CI, 77);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_0900_AI_CI, 78);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_DE_PB_0900_AI_CI, 79);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_IS_0900_AI_CI, 80);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_LV_0900_AI_CI, 81);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_RO_0900_AI_CI, 82);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_SL_0900_AI_CI, 83);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_PL_0900_AI_CI, 84);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_ET_0900_AI_CI, 85);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_ES_0900_AI_CI, 86);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_SV_0900_AI_CI, 87);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_TR_0900_AI_CI, 88);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_CS_0900_AI_CI, 89);
} // end common
} // end oceanbase

View File

@ -1,23 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_str_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_JA_0900_AS_CS, 120);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_JA_0900_AS_CS_KS, 121);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_0900_AS_CI, 122);
} // end common
} // end oceanbase

View File

@ -1,23 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_str_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_RU_0900_AI_CI, 123);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_RU_0900_AS_CS, 124);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_ZH_0900_AS_CS, 125);
} // end common
} // end oceanbase

View File

@ -1,23 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_str_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_0900_BIN, 126);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_NB_0900_AI_CI, 127);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_NB_0900_AS_CS, 128);
} // end common
} // end oceanbase

View File

@ -1,23 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_str_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_NN_0900_AI_CI, 129);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_NN_0900_AS_CS, 130);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_SR_LATN_0900_AI_CI, 131);
} // end common
} // end oceanbase

View File

@ -1,23 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_str_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_SR_LATN_0900_AS_CS, 132);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_BS_0900_AI_CI, 133);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_BS_0900_AS_CS, 134);
} // end common
} // end oceanbase

View File

@ -1,23 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_str_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_BG_0900_AI_CI, 135);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_BG_0900_AS_CS, 136);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_GL_0900_AI_CI, 137);
} // end common
} // end oceanbase

View File

@ -1,23 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_str_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_GL_0900_AS_CS, 138);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_MN_CYRL_0900_AI_CI, 139);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_MN_CYRL_0900_AS_CS, 140);
} // end common
} // end oceanbase

View File

@ -1,23 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_str_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(CS_TYPE_DEC8_SWEDISH_CI, 141);
DEF_STR_FUNC_INIT(CS_TYPE_DEC8_BIN, 142);
DEF_STR_FUNC_INIT(CS_TYPE_MAX, 143);
} // end common
} // end oceanbase

View File

@ -16,8 +16,24 @@ namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(CS_TYPE_GB18030_2022_PINYIN_CS, 15);
DEF_STR_FUNC_INIT(CS_TYPE_GB18030_2022_RADICAL_CI, 16);
DEF_STR_FUNC_INIT(CS_TYPE_GB18030_2022_RADICAL_CS, 17);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_DA_0900_AI_CI, 90);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_LT_0900_AI_CI, 91);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_SK_0900_AI_CI, 92);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_ES_TRAD_0900_AI_CI, 93);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_LA_0900_AI_CI, 94);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_EO_0900_AI_CI, 95);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_HU_0900_AI_CI, 96);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_HR_0900_AI_CI, 97);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_VI_0900_AI_CI, 98);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_0900_AS_CS, 99);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_DE_PB_0900_AS_CS, 100);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_IS_0900_AS_CS, 101);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_LV_0900_AS_CS, 102);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_RO_0900_AS_CS, 103);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_SL_0900_AS_CS, 104);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_PL_0900_AS_CS, 105);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_ET_0900_AS_CS, 106);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_ES_0900_AS_CS, 107);
} // end common
} // end oceanbase

View File

@ -16,8 +16,24 @@ namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(CS_TYPE_GB18030_2022_STROKE_CI, 18);
DEF_STR_FUNC_INIT(CS_TYPE_GB18030_2022_STROKE_CS, 19);
DEF_STR_FUNC_INIT(CS_TYPE_ASCII_GENERAL_CI, 20);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_SV_0900_AS_CS, 108);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_TR_0900_AS_CS, 109);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_CS_0900_AS_CS, 110);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_DA_0900_AS_CS, 111);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_LT_0900_AS_CS, 112);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_SK_0900_AS_CS, 113);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_ES_TRAD_0900_AS_CS, 114);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_LA_0900_AS_CS, 115);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_EO_0900_AS_CS, 116);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_HU_0900_AS_CS, 117);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_HR_0900_AS_CS, 118);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_VI_0900_AS_CS, 119);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_JA_0900_AS_CS, 120);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_JA_0900_AS_CS_KS, 121);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_0900_AS_CI, 122);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_RU_0900_AI_CI, 123);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_RU_0900_AS_CS, 124);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_ZH_0900_AS_CS, 125);
} // end common
} // end oceanbase

View File

@ -16,8 +16,24 @@ namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(CS_TYPE_ASCII_BIN, 21);
DEF_STR_FUNC_INIT(CS_TYPE_TIS620_THAI_CI, 22);
DEF_STR_FUNC_INIT(CS_TYPE_TIS620_BIN, 23);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_0900_BIN, 126);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_NB_0900_AI_CI, 127);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_NB_0900_AS_CS, 128);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_NN_0900_AI_CI, 129);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_NN_0900_AS_CS, 130);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_SR_LATN_0900_AI_CI, 131);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_SR_LATN_0900_AS_CS, 132);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_BS_0900_AI_CI, 133);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_BS_0900_AS_CS, 134);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_BG_0900_AI_CI, 135);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_BG_0900_AS_CS, 136);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_GL_0900_AI_CI, 137);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_GL_0900_AS_CS, 138);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_MN_CYRL_0900_AI_CI, 139);
DEF_STR_FUNC_INIT(CS_TYPE_UTF8MB4_MN_CYRL_0900_AS_CS, 140);
DEF_STR_FUNC_INIT(CS_TYPE_DEC8_SWEDISH_CI, 141);
DEF_STR_FUNC_INIT(CS_TYPE_DEC8_BIN, 142);
DEF_STR_FUNC_INIT(CS_TYPE_MAX, 143);
} // end common
} // end oceanbase

View File

@ -1,23 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_str_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(CS_TYPE_UTF16LE_GENERAL_CI, 24);
DEF_STR_FUNC_INIT(CS_TYPE_UTF16LE_BIN, 25);
DEF_STR_FUNC_INIT(CS_TYPE_SJIS_JAPANESE_CI, 26);
} // end common
} // end oceanbase

View File

@ -1,23 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_str_datum_funcs_compilation.ipp"
namespace oceanbase
{
namespace common
{
DEF_STR_FUNC_INIT(CS_TYPE_SJIS_BIN, 27);
DEF_STR_FUNC_INIT(CS_TYPE_BIG5_CHINESE_CI, 28);
DEF_STR_FUNC_INIT(CS_TYPE_BIG5_BIN, 29);
} // end common
} // end oceanbase

View File

@ -62,14 +62,6 @@ extern void __expr_cmp_func_compilation4();
extern void __expr_cmp_func_compilation5();
extern void __expr_cmp_func_compilation6();
extern void __expr_cmp_func_compilation7();
extern void __expr_cmp_func_compilation8();
extern void __expr_cmp_func_compilation9();
extern void __expr_cmp_func_compilation10();
extern void __expr_cmp_func_compilation11();
extern void __expr_cmp_func_compilation12();
extern void __expr_cmp_func_compilation13();
extern void __expr_cmp_func_compilation14();
extern void __expr_cmp_func_compilation15();
static bool init_all_expr_cmp_funcs()
{
@ -81,14 +73,6 @@ static bool init_all_expr_cmp_funcs()
__expr_cmp_func_compilation5();
__expr_cmp_func_compilation6();
__expr_cmp_func_compilation7();
__expr_cmp_func_compilation8();
__expr_cmp_func_compilation9();
__expr_cmp_func_compilation10();
__expr_cmp_func_compilation11();
__expr_cmp_func_compilation12();
__expr_cmp_func_compilation13();
__expr_cmp_func_compilation14();
__expr_cmp_func_compilation15();
return true;
}

View File

@ -499,7 +499,7 @@ namespace oceanbase
namespace common
{
static const int COMPILATION_UNIT = 16;
static const int COMPILATION_UNIT = 8;
#define DEF_EXPR_CMP_FUNC_PART(unit_idx) \
void __expr_cmp_func_compilation##unit_idx() \

View File

@ -1,21 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "share/vector/expr_cmp_func.ipp"
namespace oceanbase
{
namespace common
{
DEF_EXPR_CMP_FUNC_PART(10);
} // end common
} // end oceanbase

View File

@ -1,21 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "share/vector/expr_cmp_func.ipp"
namespace oceanbase
{
namespace common
{
DEF_EXPR_CMP_FUNC_PART(11);
} // end common
} // end oceanbase

View File

@ -1,21 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "share/vector/expr_cmp_func.ipp"
namespace oceanbase
{
namespace common
{
DEF_EXPR_CMP_FUNC_PART(12);
} // end common
} // end oceanbase

View File

@ -1,21 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "share/vector/expr_cmp_func.ipp"
namespace oceanbase
{
namespace common
{
DEF_EXPR_CMP_FUNC_PART(13);
} // end common
} // end oceanbase

View File

@ -1,21 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "share/vector/expr_cmp_func.ipp"
namespace oceanbase
{
namespace common
{
DEF_EXPR_CMP_FUNC_PART(14);
} // end common
} // end oceanbase

View File

@ -1,21 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "share/vector/expr_cmp_func.ipp"
namespace oceanbase
{
namespace common
{
DEF_EXPR_CMP_FUNC_PART(15);
} // end common
} // end oceanbase

View File

@ -1,21 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "share/vector/expr_cmp_func.ipp"
namespace oceanbase
{
namespace common
{
DEF_EXPR_CMP_FUNC_PART(8);
} // end common
} // end oceanbase

View File

@ -1,21 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "share/vector/expr_cmp_func.ipp"
namespace oceanbase
{
namespace common
{
DEF_EXPR_CMP_FUNC_PART(9);
} // end common
} // end oceanbase

View File

@ -305,7 +305,7 @@ ob_set_subtarget(ob_sql engine_dml
engine/dml/ob_fk_checker.cpp
)
ob_set_subtarget(ob_sql engine_expr0
ob_set_subtarget(ob_sql engine_expr
engine/expr/ob_batch_eval_util.cpp
engine/expr/ob_expr.cpp
engine/expr/ob_expr_acos.cpp
@ -322,9 +322,6 @@ ob_set_subtarget(ob_sql engine_expr0
engine/expr/ob_expr_atan2.cpp
engine/expr/ob_expr_audit_log_func.cpp
engine/expr/ob_expr_autoinc_nextval.cpp
)
ob_set_subtarget(ob_sql engine_expr1
engine/expr/ob_expr_benchmark.cpp
engine/expr/ob_expr_between.cpp
engine/expr/ob_expr_bit_and.cpp
@ -341,9 +338,6 @@ ob_set_subtarget(ob_sql engine_expr1
engine/expr/ob_expr_calc_urowid.cpp
engine/expr/ob_expr_cardinality.cpp
engine/expr/ob_expr_case.cpp
)
ob_set_subtarget(ob_sql engine_expr2
engine/expr/ob_expr_char.cpp
engine/expr/ob_expr_char_length.cpp
engine/expr/ob_expr_char_to_rowid.cpp
@ -360,9 +354,6 @@ ob_set_subtarget(ob_sql engine_expr2
engine/expr/ob_expr_connect_by_root.cpp
engine/expr/ob_expr_connection_id.cpp
engine/expr/ob_expr_conv.cpp
)
ob_set_subtarget(ob_sql engine_expr3
engine/expr/ob_expr_convert.cpp
engine/expr/ob_expr_convert_tz.cpp
engine/expr/ob_expr_cos.cpp
@ -379,9 +370,6 @@ ob_set_subtarget(ob_sql engine_expr3
engine/expr/ob_expr_date_format.cpp
engine/expr/ob_expr_day_of_func.cpp
engine/expr/ob_expr_dbms_crypto.cpp
)
ob_set_subtarget(ob_sql engine_expr4
engine/expr/ob_expr_degrees.cpp
engine/expr/ob_expr_des_hex_str.cpp
engine/expr/ob_expr_func_ceil.cpp
@ -398,9 +386,6 @@ ob_set_subtarget(ob_sql engine_expr4
engine/expr/ob_expr_estimate_ndv.cpp
engine/expr/ob_expr_exists.cpp
engine/expr/ob_expr_exp.cpp
)
ob_set_subtarget(ob_sql engine_expr5
engine/expr/ob_expr_export_set.cpp
engine/expr/ob_expr_extra_info_factory.cpp
engine/expr/ob_expr_extract.cpp
@ -417,9 +402,6 @@ ob_set_subtarget(ob_sql engine_expr5
engine/expr/ob_expr_fun_values.cpp
engine/expr/ob_expr_func_dump.cpp
engine/expr/ob_expr_func_part_hash.cpp
)
ob_set_subtarget(ob_sql engine_expr6
engine/expr/ob_expr_func_partition_key.cpp
engine/expr/ob_expr_func_round.cpp
engine/expr/ob_expr_func_sleep.cpp
@ -436,9 +418,6 @@ ob_set_subtarget(ob_sql engine_expr6
engine/expr/ob_expr_host_ip.cpp
engine/expr/ob_expr_icu_version.cpp
engine/expr/ob_expr_ifnull.cpp
)
ob_set_subtarget(ob_sql engine_expr7
engine/expr/ob_expr_inet.cpp
engine/expr/ob_expr_initcap.cpp
engine/expr/ob_expr_inner_trim.cpp
@ -455,9 +434,6 @@ ob_set_subtarget(ob_sql engine_expr7
engine/expr/ob_expr_json_extract.cpp
engine/expr/ob_expr_json_schema_valid.cpp
engine/expr/ob_expr_json_schema_validation_report.cpp
)
ob_set_subtarget(ob_sql engine_expr8
engine/expr/ob_expr_json_schema_validation_report.cpp
engine/expr/ob_expr_json_contains.cpp
engine/expr/ob_expr_json_contains_path.cpp
@ -474,9 +450,6 @@ ob_set_subtarget(ob_sql engine_expr8
engine/expr/ob_expr_json_merge.cpp
engine/expr/ob_expr_json_pretty.cpp
engine/expr/ob_expr_json_object.cpp
)
ob_set_subtarget(ob_sql engine_expr9
engine/expr/ob_expr_json_search.cpp
engine/expr/ob_expr_json_array.cpp
engine/expr/ob_expr_json_array_append.cpp
@ -493,9 +466,6 @@ ob_set_subtarget(ob_sql engine_expr9
engine/expr/ob_expr_json_length.cpp
engine/expr/ob_expr_json_storage_size.cpp
engine/expr/ob_expr_json_storage_free.cpp
)
ob_set_subtarget(ob_sql engine_expr10
engine/expr/ob_expr_json_set.cpp
engine/expr/ob_expr_is_json.cpp
engine/expr/ob_expr_json_equal.cpp
@ -511,9 +481,6 @@ ob_set_subtarget(ob_sql engine_expr10
engine/expr/ob_expr_less_equal.cpp
engine/expr/ob_expr_less_than.cpp
engine/expr/ob_expr_like.cpp
)
ob_set_subtarget(ob_sql engine_expr11
engine/expr/ob_expr_ln.cpp
engine/expr/ob_expr_lnnvl.cpp
engine/expr/ob_expr_locate.cpp
@ -530,9 +497,6 @@ ob_set_subtarget(ob_sql engine_expr11
engine/expr/ob_expr_mid.cpp
engine/expr/ob_expr_mod.cpp
engine/expr/ob_expr_multiset.cpp
)
ob_set_subtarget(ob_sql engine_expr12
engine/expr/ob_expr_tokenize.cpp
engine/expr/ob_expr_gtid.cpp
engine/expr/ob_expr_inner_table_option_printer.cpp
@ -550,9 +514,6 @@ ob_set_subtarget(ob_sql engine_expr12
engine/expr/ob_expr_array_contains.cpp
engine/expr/ob_expr_decode_trace_id.cpp
engine/expr/ob_expr_split_part.cpp
)
ob_set_subtarget(ob_sql engine_expr13
engine/expr/ob_expr_extract_cert_expired_time.cpp
engine/expr/ob_expr_transaction_id.cpp
engine/expr/ob_expr_inner_row_cmp_val.cpp
@ -569,9 +530,6 @@ ob_set_subtarget(ob_sql engine_expr13
engine/expr/ob_expr_vec_key.cpp
engine/expr/ob_expr_vec_data.cpp
engine/expr/ob_expr_topn_filter.cpp
)
ob_set_subtarget(ob_sql engine_expr14
engine/expr/ob_expr_priv_st_makeenvelope.cpp
engine/expr/ob_expr_priv_st_clipbybox2d.cpp
engine/expr/ob_expr_priv_st_pointonsurface.cpp
@ -588,9 +546,6 @@ ob_set_subtarget(ob_sql engine_expr14
engine/expr/ob_expr_priv_st_makevalid.cpp
engine/expr/ob_expr_temp_table_ssid.cpp
engine/expr/ob_expr_lock_func.cpp
)
ob_set_subtarget(ob_sql engine_expr15
engine/expr/ob_expr_extract_value.cpp
engine/expr/ob_expr_extract_xml.cpp
engine/expr/ob_expr_xmlcast.cpp
@ -607,9 +562,6 @@ ob_set_subtarget(ob_sql engine_expr15
engine/expr/ob_expr_priv_st_iscollection.cpp
engine/expr/ob_expr_priv_st_equals.cpp
engine/expr/ob_expr_priv_st_touches.cpp
)
ob_set_subtarget(ob_sql engine_expr16
engine/expr/ob_expr_st_dwithin.cpp
engine/expr/ob_expr_st_aswkb.cpp
engine/expr/ob_expr_priv_st_asewkb.cpp
@ -626,9 +578,6 @@ ob_set_subtarget(ob_sql engine_expr16
engine/expr/ob_expr_xml_attributes.cpp
engine/expr/ob_expr_xml_serialize.cpp
engine/expr/ob_expr_priv_xml_binary.cpp
)
ob_set_subtarget(ob_sql engine_expr17
engine/expr/ob_expr_priv_st_transform.cpp
engine/expr/ob_expr_st_covers.cpp
engine/expr/ob_expr_st_bestsrid.cpp
@ -645,9 +594,6 @@ ob_set_subtarget(ob_sql engine_expr17
engine/expr/ob_expr_st_srid.cpp
engine/expr/ob_expr_st_distance.cpp
engine/expr/ob_expr_st_isvalid.cpp
)
ob_set_subtarget(ob_sql engine_expr18
engine/expr/ob_expr_errno.cpp
engine/expr/ob_expr_lob_utils.cpp
engine/expr/ob_expr_format_bytes.cpp
@ -664,9 +610,6 @@ ob_set_subtarget(ob_sql engine_expr18
engine/expr/ob_expr_st_area.cpp
engine/expr/ob_expr_st_x.cpp
engine/expr/ob_expr_st_transform.cpp
)
ob_set_subtarget(ob_sql engine_expr19
engine/expr/ob_expr_width_bucket.cpp
engine/expr/ob_expr_word_count.cpp
engine/expr/ob_expr_word_segment.cpp
@ -683,9 +626,6 @@ ob_set_subtarget(ob_sql engine_expr19
engine/expr/ob_expr_hash.cpp
engine/expr/ob_expr_timestamp_to_scn.cpp
engine/expr/ob_expr_scn_to_timestamp.cpp
)
ob_set_subtarget(ob_sql engine_expr20
engine/expr/ob_expr_unix_timestamp.cpp
engine/expr/ob_expr_upper.cpp
engine/expr/ob_expr_usec_to_time.cpp
@ -702,9 +642,6 @@ ob_set_subtarget(ob_sql engine_expr20
engine/expr/ob_expr_vsize.cpp
engine/expr/ob_expr_week_of_func.cpp
engine/expr/ob_expr_weight_string.cpp
)
ob_set_subtarget(ob_sql engine_expr21
engine/expr/ob_expr_to_interval.cpp
engine/expr/ob_expr_to_multi_byte.cpp
engine/expr/ob_expr_to_number.cpp
@ -721,9 +658,6 @@ ob_set_subtarget(ob_sql engine_expr21
engine/expr/ob_expr_uid.cpp
engine/expr/ob_expr_unhex.cpp
engine/expr/ob_expr_unistr.cpp
)
ob_set_subtarget(ob_sql engine_expr22
engine/expr/ob_expr_tablet_autoinc_nextval.cpp
engine/expr/ob_expr_tan.cpp
engine/expr/ob_expr_tanh.cpp
@ -740,9 +674,6 @@ ob_set_subtarget(ob_sql engine_expr22
engine/expr/ob_expr_to_blob.cpp
engine/expr/ob_expr_to_clob.cpp
engine/expr/ob_expr_to_days.cpp
)
ob_set_subtarget(ob_sql engine_expr23
engine/expr/ob_expr_subquery_not_equal.cpp
engine/expr/ob_expr_subquery_ns_equal.cpp
engine/expr/ob_expr_subquery_ref.cpp
@ -759,9 +690,6 @@ ob_set_subtarget(ob_sql engine_expr23
engine/expr/ob_expr_sys_op_opnsize.cpp
engine/expr/ob_expr_sys_privilege_check.cpp
engine/expr/ob_expr_sys_view_bigint_param.cpp
)
ob_set_subtarget(ob_sql engine_expr24
engine/expr/ob_expr_shadow_uk_project.cpp
engine/expr/ob_expr_sign.cpp
engine/expr/ob_expr_sin.cpp
@ -778,9 +706,6 @@ ob_set_subtarget(ob_sql engine_expr24
engine/expr/ob_expr_subquery_greater_than.cpp
engine/expr/ob_expr_subquery_less_equal.cpp
engine/expr/ob_expr_subquery_less_than.cpp
)
ob_set_subtarget(ob_sql engine_expr25
engine/expr/ob_expr_remove_const.cpp
engine/expr/ob_expr_repeat.cpp
engine/expr/ob_expr_replace.cpp
@ -797,9 +722,6 @@ ob_set_subtarget(ob_sql engine_expr25
engine/expr/ob_expr_seq_nextval.cpp
engine/expr/ob_expr_set.cpp
engine/expr/ob_expr_sha.cpp
)
ob_set_subtarget(ob_sql engine_expr26
engine/expr/ob_expr_quarter.cpp
engine/expr/ob_expr_quote.cpp
engine/expr/ob_expr_radians.cpp
@ -816,9 +738,6 @@ ob_set_subtarget(ob_sql engine_expr26
engine/expr/ob_expr_regexp_replace.cpp
engine/expr/ob_expr_regexp_substr.cpp
engine/expr/ob_expr_remainder.cpp
)
ob_set_subtarget(ob_sql engine_expr27
engine/expr/ob_expr_part_id.cpp
engine/expr/ob_expr_part_id_pseudo_column.cpp
engine/expr/ob_expr_password.cpp
@ -835,9 +754,6 @@ ob_set_subtarget(ob_sql engine_expr27
engine/expr/ob_expr_power.cpp
engine/expr/ob_expr_prior.cpp
engine/expr/ob_expr_promotion_util.cpp
)
ob_set_subtarget(ob_sql engine_expr28
engine/expr/ob_expr_nvl.cpp
engine/expr/ob_expr_nvl2_oracle.cpp
engine/expr/ob_expr_obj_access.cpp
@ -853,9 +769,6 @@ ob_set_subtarget(ob_sql engine_expr28
engine/expr/ob_expr_oracle_trunc.cpp
engine/expr/ob_expr_orahash.cpp
engine/expr/ob_expr_output_pack.cpp
)
ob_set_subtarget(ob_sql engine_expr29
engine/expr/ob_expr_pad.cpp
engine/expr/ob_expr_mysql_port.cpp
engine/expr/ob_expr_name_const.cpp
@ -869,9 +782,6 @@ ob_set_subtarget(ob_sql engine_expr29
engine/expr/ob_expr_not_in.cpp
engine/expr/ob_expr_null_safe_equal.cpp
engine/expr/ob_expr_nullif.cpp
)
ob_set_subtarget(ob_sql engine_expr30
engine/expr/ob_expr_div.cpp
engine/expr/ob_expr_abs.cpp
engine/expr/ob_expr_add.cpp
@ -893,30 +803,6 @@ ob_set_subtarget(ob_sql ALONE
engine/expr/ob_expr_cmp_func_compile/ob_expr_cmp_func_part5.cpp
engine/expr/ob_expr_cmp_func_compile/ob_expr_cmp_func_part6.cpp
engine/expr/ob_expr_cmp_func_compile/ob_expr_cmp_func_part7.cpp
engine/expr/ob_expr_cmp_func_compile/ob_expr_cmp_func_part8.cpp
engine/expr/ob_expr_cmp_func_compile/ob_expr_cmp_func_part9.cpp
engine/expr/ob_expr_cmp_func_compile/ob_expr_cmp_func_part10.cpp
engine/expr/ob_expr_cmp_func_compile/ob_expr_cmp_func_part11.cpp
engine/expr/ob_expr_cmp_func_compile/ob_expr_cmp_func_part12.cpp
engine/expr/ob_expr_cmp_func_compile/ob_expr_cmp_func_part13.cpp
engine/expr/ob_expr_cmp_func_compile/ob_expr_cmp_func_part14.cpp
engine/expr/ob_expr_cmp_func_compile/ob_expr_cmp_func_part15.cpp
engine/expr/ob_expr_cmp_func_compile/ob_expr_cmp_func_part16.cpp
engine/expr/ob_expr_cmp_func_compile/ob_expr_cmp_func_part17.cpp
engine/expr/ob_expr_cmp_func_compile/ob_expr_cmp_func_part18.cpp
engine/expr/ob_expr_cmp_func_compile/ob_expr_cmp_func_part19.cpp
engine/expr/ob_expr_cmp_func_compile/ob_expr_cmp_func_part20.cpp
engine/expr/ob_expr_cmp_func_compile/ob_expr_cmp_func_part21.cpp
engine/expr/ob_expr_cmp_func_compile/ob_expr_cmp_func_part22.cpp
engine/expr/ob_expr_cmp_func_compile/ob_expr_cmp_func_part23.cpp
engine/expr/ob_expr_cmp_func_compile/ob_expr_cmp_func_part24.cpp
engine/expr/ob_expr_cmp_func_compile/ob_expr_cmp_func_part25.cpp
engine/expr/ob_expr_cmp_func_compile/ob_expr_cmp_func_part26.cpp
engine/expr/ob_expr_cmp_func_compile/ob_expr_cmp_func_part27.cpp
engine/expr/ob_expr_cmp_func_compile/ob_expr_cmp_func_part28.cpp
engine/expr/ob_expr_cmp_func_compile/ob_expr_cmp_func_part29.cpp
engine/expr/ob_expr_cmp_func_compile/ob_expr_cmp_func_part30.cpp
engine/expr/ob_expr_cmp_func_compile/ob_expr_cmp_func_part31.cpp
engine/expr/ob_expr_cmp_func_compile/ob_expr_cmp_func_compile_init.cpp
engine/expr/ob_expr_str_cmp_func_compile/ob_expr_str_cmp_func_part_0.cpp
@ -927,46 +813,6 @@ ob_set_subtarget(ob_sql ALONE
engine/expr/ob_expr_str_cmp_func_compile/ob_expr_str_cmp_func_part_5.cpp
engine/expr/ob_expr_str_cmp_func_compile/ob_expr_str_cmp_func_part_6.cpp
engine/expr/ob_expr_str_cmp_func_compile/ob_expr_str_cmp_func_part_7.cpp
engine/expr/ob_expr_str_cmp_func_compile/ob_expr_str_cmp_func_part_8.cpp
engine/expr/ob_expr_str_cmp_func_compile/ob_expr_str_cmp_func_part_9.cpp
engine/expr/ob_expr_str_cmp_func_compile/ob_expr_str_cmp_func_part_10.cpp
engine/expr/ob_expr_str_cmp_func_compile/ob_expr_str_cmp_func_part_11.cpp
engine/expr/ob_expr_str_cmp_func_compile/ob_expr_str_cmp_func_part_12.cpp
engine/expr/ob_expr_str_cmp_func_compile/ob_expr_str_cmp_func_part_13.cpp
engine/expr/ob_expr_str_cmp_func_compile/ob_expr_str_cmp_func_part_14.cpp
engine/expr/ob_expr_str_cmp_func_compile/ob_expr_str_cmp_func_part_15.cpp
engine/expr/ob_expr_str_cmp_func_compile/ob_expr_str_cmp_func_part_16.cpp
engine/expr/ob_expr_str_cmp_func_compile/ob_expr_str_cmp_func_part_17.cpp
engine/expr/ob_expr_str_cmp_func_compile/ob_expr_str_cmp_func_part_18.cpp
engine/expr/ob_expr_str_cmp_func_compile/ob_expr_str_cmp_func_part_19.cpp
engine/expr/ob_expr_str_cmp_func_compile/ob_expr_str_cmp_func_part_20.cpp
engine/expr/ob_expr_str_cmp_func_compile/ob_expr_str_cmp_func_part_21.cpp
engine/expr/ob_expr_str_cmp_func_compile/ob_expr_str_cmp_func_part_22.cpp
engine/expr/ob_expr_str_cmp_func_compile/ob_expr_str_cmp_func_part_23.cpp
engine/expr/ob_expr_str_cmp_func_compile/ob_expr_str_cmp_func_part_24.cpp
engine/expr/ob_expr_str_cmp_func_compile/ob_expr_str_cmp_func_part_25.cpp
engine/expr/ob_expr_str_cmp_func_compile/ob_expr_str_cmp_func_part_26.cpp
engine/expr/ob_expr_str_cmp_func_compile/ob_expr_str_cmp_func_part_27.cpp
engine/expr/ob_expr_str_cmp_func_compile/ob_expr_str_cmp_func_part_28.cpp
engine/expr/ob_expr_str_cmp_func_compile/ob_expr_str_cmp_func_part_29.cpp
engine/expr/ob_expr_str_cmp_func_compile/ob_expr_str_cmp_func_part_30.cpp
engine/expr/ob_expr_str_cmp_func_compile/ob_expr_str_cmp_func_part_31.cpp
engine/expr/ob_expr_str_cmp_func_compile/ob_expr_str_cmp_func_part_32.cpp
engine/expr/ob_expr_str_cmp_func_compile/ob_expr_str_cmp_func_part_33.cpp
engine/expr/ob_expr_str_cmp_func_compile/ob_expr_str_cmp_func_part_34.cpp
engine/expr/ob_expr_str_cmp_func_compile/ob_expr_str_cmp_func_part_35.cpp
engine/expr/ob_expr_str_cmp_func_compile/ob_expr_str_cmp_func_part_36.cpp
engine/expr/ob_expr_str_cmp_func_compile/ob_expr_str_cmp_func_part_37.cpp
engine/expr/ob_expr_str_cmp_func_compile/ob_expr_str_cmp_func_part_38.cpp
engine/expr/ob_expr_str_cmp_func_compile/ob_expr_str_cmp_func_part_39.cpp
engine/expr/ob_expr_str_cmp_func_compile/ob_expr_str_cmp_func_part_40.cpp
engine/expr/ob_expr_str_cmp_func_compile/ob_expr_str_cmp_func_part_41.cpp
engine/expr/ob_expr_str_cmp_func_compile/ob_expr_str_cmp_func_part_42.cpp
engine/expr/ob_expr_str_cmp_func_compile/ob_expr_str_cmp_func_part_43.cpp
engine/expr/ob_expr_str_cmp_func_compile/ob_expr_str_cmp_func_part_44.cpp
engine/expr/ob_expr_str_cmp_func_compile/ob_expr_str_cmp_func_part_45.cpp
engine/expr/ob_expr_str_cmp_func_compile/ob_expr_str_cmp_func_part_46.cpp
engine/expr/ob_expr_str_cmp_func_compile/ob_expr_str_cmp_func_part_47.cpp
engine/expr/ob_expr_str_cmp_func_compile/ob_expr_str_cmp_func_all.cpp
engine/expr/vector_cast/vector_cast_compile/vector_cast_part0.cpp
@ -977,30 +823,6 @@ ob_set_subtarget(ob_sql ALONE
engine/expr/vector_cast/vector_cast_compile/vector_cast_part5.cpp
engine/expr/vector_cast/vector_cast_compile/vector_cast_part6.cpp
engine/expr/vector_cast/vector_cast_compile/vector_cast_part7.cpp
engine/expr/vector_cast/vector_cast_compile/vector_cast_part8.cpp
engine/expr/vector_cast/vector_cast_compile/vector_cast_part9.cpp
engine/expr/vector_cast/vector_cast_compile/vector_cast_part10.cpp
engine/expr/vector_cast/vector_cast_compile/vector_cast_part11.cpp
engine/expr/vector_cast/vector_cast_compile/vector_cast_part12.cpp
engine/expr/vector_cast/vector_cast_compile/vector_cast_part13.cpp
engine/expr/vector_cast/vector_cast_compile/vector_cast_part14.cpp
engine/expr/vector_cast/vector_cast_compile/vector_cast_part15.cpp
engine/expr/vector_cast/vector_cast_compile/vector_cast_part16.cpp
engine/expr/vector_cast/vector_cast_compile/vector_cast_part17.cpp
engine/expr/vector_cast/vector_cast_compile/vector_cast_part18.cpp
engine/expr/vector_cast/vector_cast_compile/vector_cast_part19.cpp
engine/expr/vector_cast/vector_cast_compile/vector_cast_part20.cpp
engine/expr/vector_cast/vector_cast_compile/vector_cast_part21.cpp
engine/expr/vector_cast/vector_cast_compile/vector_cast_part22.cpp
engine/expr/vector_cast/vector_cast_compile/vector_cast_part23.cpp
engine/expr/vector_cast/vector_cast_compile/vector_cast_part24.cpp
engine/expr/vector_cast/vector_cast_compile/vector_cast_part25.cpp
engine/expr/vector_cast/vector_cast_compile/vector_cast_part26.cpp
engine/expr/vector_cast/vector_cast_compile/vector_cast_part27.cpp
engine/expr/vector_cast/vector_cast_compile/vector_cast_part28.cpp
engine/expr/vector_cast/vector_cast_compile/vector_cast_part29.cpp
engine/expr/vector_cast/vector_cast_compile/vector_cast_part30.cpp
engine/expr/vector_cast/vector_cast_compile/vector_cast_part31.cpp
engine/expr/vector_cast/vector_cast_compile/vector_cast_all.cpp
engine/expr/vector_cast/vector_cast.cpp
)

View File

@ -814,7 +814,12 @@ struct ExtraExprCmpIniter
}
};
template<int X, int Y>
struct ExprDummyIniter
{
static void init_array() {}
};
template<int X, int Y, bool defined = true>
struct TypeExprCmpFuncIniter
{
using Def = datum_cmp::ObDatumTypeCmp<
@ -850,6 +855,12 @@ struct TypeExprCmpFuncIniter
};
template<int X, int Y>
struct TypeExprCmpFuncIniter<X, Y, false>: public ExprDummyIniter {};
template<int X, int Y>
using TypeExprCmpIniter = TypeExprCmpFuncIniter<X, Y, datum_cmp::ObDatumTypeCmp<static_cast<ObObjType>(X),static_cast<ObObjType>(Y)>::defined_>;
template<int X, int Y, bool defined = true>
struct TCExprCmpFuncIniter
{
using Def = datum_cmp::ObDatumTCCmp<
@ -895,6 +906,12 @@ struct TCExprCmpFuncIniter
}
};
template<int X, int Y>
struct TCExprCmpFuncIniter<X, Y, false>: public ExprDummyIniter{};
template<int X, int Y>
using TCExprCmpIniter = TCExprCmpFuncIniter<X, Y, datum_cmp::ObDatumTCCmp<static_cast<ObObjTypeClass>(X),static_cast<ObObjTypeClass>(Y)>::defined_>;
template<int X, int Y>
struct StrExprFuncIniter
{

View File

@ -17,7 +17,7 @@ namespace oceanbase
namespace sql
{
static const int COMPILATION_UNIT = 32;
static const int COMPILATION_UNIT = 8;
#define DEF_COMPILATION_VARS(name, max_val, unit_idx) \
constexpr int name##_unit_size = \
@ -32,8 +32,8 @@ static const int COMPILATION_UNIT = 32;
{ \
DEF_COMPILATION_VARS(ty, ObMaxType, unit_idx); \
DEF_COMPILATION_VARS(tc, ObMaxTC, unit_idx); \
Ob2DArrayConstIniter<ty_end, ObMaxType, TypeExprCmpFuncIniter, ty_start, 0>::init(); \
Ob2DArrayConstIniter<tc_end, ObMaxTC, TCExprCmpFuncIniter, tc_start, 0>::init(); \
Ob2DArrayConstIniter<ty_end, ObMaxType, TypeExprCmpIniter, ty_start, 0>::init(); \
Ob2DArrayConstIniter<tc_end, ObMaxTC, TCExprCmpIniter, tc_start, 0>::init(); \
}
} // end sql

View File

@ -22,30 +22,14 @@ extern void __init_expr_cmp_func4();
extern void __init_expr_cmp_func5();
extern void __init_expr_cmp_func6();
extern void __init_expr_cmp_func7();
extern void __init_expr_cmp_func8();
extern void __init_expr_cmp_func9();
extern void __init_expr_cmp_func10();
extern void __init_expr_cmp_func11();
extern void __init_expr_cmp_func12();
extern void __init_expr_cmp_func13();
extern void __init_expr_cmp_func14();
extern void __init_expr_cmp_func15();
extern void __init_expr_cmp_func16();
extern void __init_expr_cmp_func17();
extern void __init_expr_cmp_func18();
extern void __init_expr_cmp_func19();
extern void __init_expr_cmp_func20();
extern void __init_expr_cmp_func21();
extern void __init_expr_cmp_func22();
extern void __init_expr_cmp_func23();
extern void __init_expr_cmp_func24();
extern void __init_expr_cmp_func25();
extern void __init_expr_cmp_func26();
extern void __init_expr_cmp_func27();
extern void __init_expr_cmp_func28();
extern void __init_expr_cmp_func29();
extern void __init_expr_cmp_func30();
extern void __init_expr_cmp_func31();
// extern void __init_expr_cmp_func8();
// extern void __init_expr_cmp_func9();
// extern void __init_expr_cmp_func10();
// extern void __init_expr_cmp_func11();
// extern void __init_expr_cmp_func12();
// extern void __init_expr_cmp_func13();
// extern void __init_expr_cmp_func14();
// extern void __init_expr_cmp_func15();
void __init_all_expr_cmp_funcs()
{
@ -57,30 +41,14 @@ void __init_all_expr_cmp_funcs()
__init_expr_cmp_func5();
__init_expr_cmp_func6();
__init_expr_cmp_func7();
__init_expr_cmp_func8();
__init_expr_cmp_func9();
__init_expr_cmp_func10();
__init_expr_cmp_func11();
__init_expr_cmp_func12();
__init_expr_cmp_func13();
__init_expr_cmp_func14();
__init_expr_cmp_func15();
__init_expr_cmp_func16();
__init_expr_cmp_func17();
__init_expr_cmp_func18();
__init_expr_cmp_func19();
__init_expr_cmp_func20();
__init_expr_cmp_func21();
__init_expr_cmp_func22();
__init_expr_cmp_func23();
__init_expr_cmp_func24();
__init_expr_cmp_func25();
__init_expr_cmp_func26();
__init_expr_cmp_func27();
__init_expr_cmp_func28();
__init_expr_cmp_func29();
__init_expr_cmp_func30();
__init_expr_cmp_func31();
// __init_expr_cmp_func8();
// __init_expr_cmp_func9();
// __init_expr_cmp_func10();
// __init_expr_cmp_func11();
// __init_expr_cmp_func12();
// __init_expr_cmp_func13();
// __init_expr_cmp_func14();
// __init_expr_cmp_func15();
}
} // end sq
} // end oceanbase

View File

@ -1,21 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_expr_cmp_func_compilation.ipp"
namespace oceanbase
{
namespace sql
{
DEF_COMPILE_FUNC_INIT(16);
} // end sql
} // end oceanbase

View File

@ -1,21 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_expr_cmp_func_compilation.ipp"
namespace oceanbase
{
namespace sql
{
DEF_COMPILE_FUNC_INIT(17);
} // end sql
} // end oceanbase

View File

@ -1,21 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_expr_cmp_func_compilation.ipp"
namespace oceanbase
{
namespace sql
{
DEF_COMPILE_FUNC_INIT(18);
} // end sql
} // end oceanbase

View File

@ -1,21 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_expr_cmp_func_compilation.ipp"
namespace oceanbase
{
namespace sql
{
DEF_COMPILE_FUNC_INIT(19);
} // end sql
} // end oceanbase

View File

@ -1,21 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_expr_cmp_func_compilation.ipp"
namespace oceanbase
{
namespace sql
{
DEF_COMPILE_FUNC_INIT(20);
} // end sql
} // end oceanbase

View File

@ -1,21 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_expr_cmp_func_compilation.ipp"
namespace oceanbase
{
namespace sql
{
DEF_COMPILE_FUNC_INIT(21);
} // end sql
} // end oceanbase

View File

@ -1,21 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_expr_cmp_func_compilation.ipp"
namespace oceanbase
{
namespace sql
{
DEF_COMPILE_FUNC_INIT(22);
} // end sql
} // end oceanbase

View File

@ -1,21 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_expr_cmp_func_compilation.ipp"
namespace oceanbase
{
namespace sql
{
DEF_COMPILE_FUNC_INIT(23);
} // end sql
} // end oceanbase

View File

@ -1,21 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_expr_cmp_func_compilation.ipp"
namespace oceanbase
{
namespace sql
{
DEF_COMPILE_FUNC_INIT(24);
} // end sql
} // end oceanbase

View File

@ -1,21 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_expr_cmp_func_compilation.ipp"
namespace oceanbase
{
namespace sql
{
DEF_COMPILE_FUNC_INIT(25);
} // end sql
} // end oceanbase

View File

@ -1,21 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_expr_cmp_func_compilation.ipp"
namespace oceanbase
{
namespace sql
{
DEF_COMPILE_FUNC_INIT(26);
} // end sql
} // end oceanbase

View File

@ -1,21 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_expr_cmp_func_compilation.ipp"
namespace oceanbase
{
namespace sql
{
DEF_COMPILE_FUNC_INIT(27);
} // end sql
} // end oceanbase

View File

@ -1,21 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_expr_cmp_func_compilation.ipp"
namespace oceanbase
{
namespace sql
{
DEF_COMPILE_FUNC_INIT(28);
} // end sql
} // end oceanbase

View File

@ -1,21 +0,0 @@
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PubL v2 for more details.
*/
#include "ob_expr_cmp_func_compilation.ipp"
namespace oceanbase
{
namespace sql
{
DEF_COMPILE_FUNC_INIT(29);
} // end sql
} // end oceanbase

Some files were not shown because too many files have changed in this diff Show More