Add object type placeholder for MySQL date/datetime types
This commit is contained in:
parent
f2462dd444
commit
ffd0dacb15
14
deps/oblib/src/common/ob_accuracy.cpp
vendored
14
deps/oblib/src/common/ob_accuracy.cpp
vendored
@ -73,6 +73,8 @@ const ObAccuracy ObAccuracy::DDL_DEFAULT_ACCURACY[ObMaxType] = {
|
||||
ObAccuracy(), // user defined type in sql
|
||||
ObAccuracy(10, 0), // decimal int
|
||||
ObAccuracy(), // collection type in sql
|
||||
ObAccuracy(10, 0), // mysql date.
|
||||
ObAccuracy(19, 6), // mysql datetime.
|
||||
};
|
||||
|
||||
const ObAccuracy ObAccuracy::DDL_DEFAULT_ACCURACY2[ORACLE_MODE + 1][ObMaxType] = {
|
||||
@ -129,6 +131,8 @@ const ObAccuracy ObAccuracy::DDL_DEFAULT_ACCURACY2[ORACLE_MODE + 1][ObMaxType] =
|
||||
ObAccuracy(), // user defined type in sql
|
||||
ObAccuracy(10, 0), // decimal int
|
||||
ObAccuracy(), // collection type in sql
|
||||
ObAccuracy(10, 0), // mysql date.
|
||||
ObAccuracy(19, 6), // mysql datetime.
|
||||
},
|
||||
{
|
||||
ObAccuracy(), // null.
|
||||
@ -183,6 +187,8 @@ const ObAccuracy ObAccuracy::DDL_DEFAULT_ACCURACY2[ORACLE_MODE + 1][ObMaxType] =
|
||||
ObAccuracy(), // user defined type in sql
|
||||
ObAccuracy(10, 0), // decimal int
|
||||
ObAccuracy(), // collection type in sql
|
||||
ObAccuracy(10, 0), // mysql date.
|
||||
ObAccuracy(19, 6), // mysql datetime.
|
||||
}
|
||||
};
|
||||
|
||||
@ -239,6 +245,8 @@ const ObAccuracy ObAccuracy::MAX_ACCURACY[ObMaxType] = {
|
||||
ObAccuracy(), // user defined type in sql
|
||||
ObAccuracy(OB_MAX_DECIMAL_PRECISION, OB_MAX_DECIMAL_SCALE), // decimal int
|
||||
ObAccuracy(), // collection type in sql
|
||||
ObAccuracy(10, 0), // mysql date.
|
||||
ObAccuracy(19, 6), // mysql datetime.
|
||||
};
|
||||
|
||||
const ObAccuracy ObAccuracy::MAX_ACCURACY2[ORACLE_MODE + 1][ObMaxType] = {
|
||||
@ -295,6 +303,8 @@ const ObAccuracy ObAccuracy::MAX_ACCURACY2[ORACLE_MODE + 1][ObMaxType] = {
|
||||
ObAccuracy(), // user defined type in sql
|
||||
ObAccuracy(OB_MAX_DECIMAL_PRECISION, OB_MAX_DECIMAL_SCALE), // decimal int
|
||||
ObAccuracy(), // collection type in sql
|
||||
ObAccuracy(10, 0), // mysql date.
|
||||
ObAccuracy(19, 6), // mysql datetime.
|
||||
},
|
||||
{ /* Oracle */
|
||||
ObAccuracy(), // null.
|
||||
@ -349,6 +359,8 @@ const ObAccuracy ObAccuracy::MAX_ACCURACY2[ORACLE_MODE + 1][ObMaxType] = {
|
||||
ObAccuracy(), // user defined type in sql
|
||||
ObAccuracy(OB_MAX_DECIMAL_PRECISION, OB_MAX_DECIMAL_SCALE), // decimal int
|
||||
ObAccuracy(), // collection type in sql
|
||||
ObAccuracy(10, 0), // mysql date.
|
||||
ObAccuracy(19, 6), // mysql datetime.
|
||||
}
|
||||
};
|
||||
|
||||
@ -405,6 +417,8 @@ const ObAccuracy ObAccuracy::DML_DEFAULT_ACCURACY[ObMaxType] = {
|
||||
ObAccuracy(), // user defined type in sql
|
||||
ObAccuracy(), // decimal int
|
||||
ObAccuracy(), // collection type in sql
|
||||
ObAccuracy(0, 6), // mysql date.
|
||||
ObAccuracy(0, 0), // mysql datetime.
|
||||
};
|
||||
|
||||
const ObAccuracy ObAccuracy::MAX_ACCURACY_OLD[ObMaxType] = {
|
||||
|
237
deps/oblib/src/common/object/ob_obj_compare.cpp
vendored
237
deps/oblib/src/common/object/ob_obj_compare.cpp
vendored
@ -3054,6 +3054,8 @@ const obj_cmp_func_nullsafe ObObjCmpFuncs::cmp_funcs_nullsafe[ObMaxTC][ObMaxTC]
|
||||
NULL, // udt
|
||||
DECLARE_CMP_FUNCS_NULLSAFE_LEFTNULL_ENTRY(ObMaxTC),// decimalint
|
||||
NULL, // collection
|
||||
NULL, // mysql date
|
||||
NULL, // mysql datetime
|
||||
},
|
||||
{ // int
|
||||
DECLARE_CMP_FUNCS_NULLSAFE_RIGHTNULL_ENTRY(ObMaxTC),
|
||||
@ -3083,6 +3085,8 @@ const obj_cmp_func_nullsafe ObObjCmpFuncs::cmp_funcs_nullsafe[ObMaxTC][ObMaxTC]
|
||||
NULL, // udt
|
||||
DECLARE_CMP_FUNCS_NULLSAFE_ENTRY(ObIntTC, ObDecimalIntTC, ObMaxTC, ObMaxTC), // decimal int
|
||||
NULL, // collection
|
||||
NULL, // mysql date
|
||||
NULL, // mysql datetime
|
||||
},
|
||||
{ // uint
|
||||
DECLARE_CMP_FUNCS_NULLSAFE_RIGHTNULL_ENTRY(ObMaxTC),
|
||||
@ -3112,6 +3116,8 @@ const obj_cmp_func_nullsafe ObObjCmpFuncs::cmp_funcs_nullsafe[ObMaxTC][ObMaxTC]
|
||||
NULL, // udt
|
||||
DECLARE_CMP_FUNCS_NULLSAFE_ENTRY(ObUIntTC, ObDecimalIntTC, ObMaxTC, ObMaxTC), // decimal int
|
||||
NULL, // collection
|
||||
NULL, // mysql date
|
||||
NULL, // mysql datetime
|
||||
},
|
||||
{ // float
|
||||
DECLARE_CMP_FUNCS_NULLSAFE_RIGHTNULL_ENTRY(ObMaxTC),
|
||||
@ -3141,6 +3147,8 @@ const obj_cmp_func_nullsafe ObObjCmpFuncs::cmp_funcs_nullsafe[ObMaxTC][ObMaxTC]
|
||||
NULL, // udt
|
||||
NULL, // decimal int
|
||||
NULL, // collection
|
||||
NULL, // mysql date
|
||||
NULL, // mysql datetime
|
||||
},
|
||||
{ // double
|
||||
DECLARE_CMP_FUNCS_NULLSAFE_RIGHTNULL_ENTRY(ObMaxTC),
|
||||
@ -3170,6 +3178,8 @@ const obj_cmp_func_nullsafe ObObjCmpFuncs::cmp_funcs_nullsafe[ObMaxTC][ObMaxTC]
|
||||
NULL, // udt
|
||||
NULL, // decimal int
|
||||
NULL, // collection
|
||||
NULL, // mysql date
|
||||
NULL, // mysql datetime
|
||||
},
|
||||
{ // number
|
||||
DECLARE_CMP_FUNCS_NULLSAFE_RIGHTNULL_ENTRY(ObMaxTC),
|
||||
@ -3199,6 +3209,8 @@ const obj_cmp_func_nullsafe ObObjCmpFuncs::cmp_funcs_nullsafe[ObMaxTC][ObMaxTC]
|
||||
NULL, // udt
|
||||
DECLARE_CMP_FUNCS_NULLSAFE_ENTRY(ObNumberTC, ObDecimalIntTC, ObMaxTC, ObMaxTC), // decimal int
|
||||
NULL, // collection
|
||||
NULL, // mysql date
|
||||
NULL, // mysql datetime
|
||||
},
|
||||
{ // datetime
|
||||
DECLARE_CMP_FUNCS_NULLSAFE_RIGHTNULL_ENTRY(ObMaxTC),
|
||||
@ -3228,6 +3240,8 @@ const obj_cmp_func_nullsafe ObObjCmpFuncs::cmp_funcs_nullsafe[ObMaxTC][ObMaxTC]
|
||||
NULL, // udt
|
||||
NULL, // decimalint
|
||||
NULL, // collection
|
||||
NULL, // mysql date
|
||||
NULL, // mysql datetime
|
||||
},
|
||||
{ // date
|
||||
DECLARE_CMP_FUNCS_NULLSAFE_RIGHTNULL_ENTRY(ObMaxTC),
|
||||
@ -3257,6 +3271,8 @@ const obj_cmp_func_nullsafe ObObjCmpFuncs::cmp_funcs_nullsafe[ObMaxTC][ObMaxTC]
|
||||
NULL, // udt
|
||||
NULL, // decimal int
|
||||
NULL, // collection
|
||||
NULL, // mysql date
|
||||
NULL, // mysql datetime
|
||||
},
|
||||
{ // time
|
||||
DECLARE_CMP_FUNCS_NULLSAFE_RIGHTNULL_ENTRY(ObMaxTC),
|
||||
@ -3286,6 +3302,8 @@ const obj_cmp_func_nullsafe ObObjCmpFuncs::cmp_funcs_nullsafe[ObMaxTC][ObMaxTC]
|
||||
NULL, // udt
|
||||
NULL, // decimal int
|
||||
NULL, // collection
|
||||
NULL, // mysql date
|
||||
NULL, // mysql datetime
|
||||
},
|
||||
{ // year
|
||||
DECLARE_CMP_FUNCS_NULLSAFE_RIGHTNULL_ENTRY(ObMaxTC),
|
||||
@ -3315,6 +3333,8 @@ const obj_cmp_func_nullsafe ObObjCmpFuncs::cmp_funcs_nullsafe[ObMaxTC][ObMaxTC]
|
||||
NULL, // udt
|
||||
NULL, // decimal int
|
||||
NULL, // collection
|
||||
NULL, // mysql date
|
||||
NULL, // mysql datetime
|
||||
},
|
||||
{ // string
|
||||
DECLARE_CMP_FUNCS_NULLSAFE_RIGHTNULL_ENTRY(ObMaxTC),
|
||||
@ -3344,6 +3364,8 @@ const obj_cmp_func_nullsafe ObObjCmpFuncs::cmp_funcs_nullsafe[ObMaxTC][ObMaxTC]
|
||||
NULL, // udt
|
||||
NULL, // decimal int
|
||||
NULL, // collection
|
||||
NULL, // mysql date
|
||||
NULL, // mysql datetime
|
||||
},
|
||||
{ // extend
|
||||
DECLARE_CMP_FUNCS_NULLSAFE_RIGHTNULL_ENTRY(ObExtendTC),
|
||||
@ -3373,6 +3395,8 @@ const obj_cmp_func_nullsafe ObObjCmpFuncs::cmp_funcs_nullsafe[ObMaxTC][ObMaxTC]
|
||||
NULL, // udt
|
||||
DECLARE_CMP_FUNCS_NULLSAFE_ENTRY(ObExtendTC, ObMaxTC, ObExtendTC, ObMaxTC), // decimalint
|
||||
NULL, // collection
|
||||
NULL, // mysql date
|
||||
NULL, // mysql datetime
|
||||
},
|
||||
{ // unknown
|
||||
DECLARE_CMP_FUNCS_NULLSAFE_RIGHTNULL_ENTRY(ObMaxTC),
|
||||
@ -3402,6 +3426,8 @@ const obj_cmp_func_nullsafe ObObjCmpFuncs::cmp_funcs_nullsafe[ObMaxTC][ObMaxTC]
|
||||
NULL, // udt
|
||||
NULL, // decimal int
|
||||
NULL, // collection
|
||||
NULL, // mysql date
|
||||
NULL, // mysql datetime
|
||||
},
|
||||
{ // text
|
||||
DECLARE_CMP_FUNCS_NULLSAFE_RIGHTNULL_ENTRY(ObMaxTC),
|
||||
@ -3431,6 +3457,8 @@ const obj_cmp_func_nullsafe ObObjCmpFuncs::cmp_funcs_nullsafe[ObMaxTC][ObMaxTC]
|
||||
NULL, // udt
|
||||
NULL, // decimal int
|
||||
NULL, // collection
|
||||
NULL, // mysql date
|
||||
NULL, // mysql datetime
|
||||
},
|
||||
{ // bit
|
||||
DECLARE_CMP_FUNCS_NULLSAFE_RIGHTNULL_ENTRY(ObMaxTC),
|
||||
@ -3460,6 +3488,8 @@ const obj_cmp_func_nullsafe ObObjCmpFuncs::cmp_funcs_nullsafe[ObMaxTC][ObMaxTC]
|
||||
NULL, // udt
|
||||
NULL, // decimal int
|
||||
NULL, // collection
|
||||
NULL, // mysql date
|
||||
NULL, // mysql datetime
|
||||
},
|
||||
{ //enumset
|
||||
DECLARE_CMP_FUNCS_NULLSAFE_RIGHTNULL_ENTRY(ObMaxTC),
|
||||
@ -3489,6 +3519,8 @@ const obj_cmp_func_nullsafe ObObjCmpFuncs::cmp_funcs_nullsafe[ObMaxTC][ObMaxTC]
|
||||
NULL, // udt
|
||||
DECLARE_CMP_FUNCS_NULLSAFE_ENTRY(ObEnumSetTC, ObDecimalIntTC, ObMaxTC, ObMaxTC),
|
||||
NULL, // collection
|
||||
NULL, // mysql date
|
||||
NULL, // mysql datetime
|
||||
},
|
||||
{ //enumsetInner
|
||||
DECLARE_CMP_FUNCS_NULLSAFE_RIGHTNULL_ENTRY(ObMaxTC),
|
||||
@ -3518,6 +3550,8 @@ const obj_cmp_func_nullsafe ObObjCmpFuncs::cmp_funcs_nullsafe[ObMaxTC][ObMaxTC]
|
||||
NULL, // udt
|
||||
DECLARE_CMP_FUNCS_NULLSAFE_ENTRY(ObEnumSetInnerTC, ObDecimalIntTC, ObMaxTC, ObMaxTC), // decimal int
|
||||
NULL, // collection
|
||||
NULL, // mysql date
|
||||
NULL, // mysql datetime
|
||||
},
|
||||
{ // otimestamp
|
||||
DECLARE_CMP_FUNCS_NULLSAFE_RIGHTNULL_ENTRY(ObMaxTC),
|
||||
@ -3547,6 +3581,8 @@ const obj_cmp_func_nullsafe ObObjCmpFuncs::cmp_funcs_nullsafe[ObMaxTC][ObMaxTC]
|
||||
NULL, // udt
|
||||
NULL, // decimal int
|
||||
NULL, // collection
|
||||
NULL, // mysql date
|
||||
NULL, // mysql datetime
|
||||
},
|
||||
{ // raw
|
||||
DECLARE_CMP_FUNCS_NULLSAFE_RIGHTNULL_ENTRY(ObMaxTC),
|
||||
@ -3576,6 +3612,8 @@ const obj_cmp_func_nullsafe ObObjCmpFuncs::cmp_funcs_nullsafe[ObMaxTC][ObMaxTC]
|
||||
NULL, // udt
|
||||
NULL, // decimal int
|
||||
NULL, // collection
|
||||
NULL, // mysql date
|
||||
NULL, // mysql datetime
|
||||
},
|
||||
{ // interval
|
||||
DECLARE_CMP_FUNCS_NULLSAFE_RIGHTNULL_ENTRY(ObMaxTC),
|
||||
@ -3605,6 +3643,8 @@ const obj_cmp_func_nullsafe ObObjCmpFuncs::cmp_funcs_nullsafe[ObMaxTC][ObMaxTC]
|
||||
NULL, // udt
|
||||
NULL, // decimal int
|
||||
NULL, // collection
|
||||
NULL, // mysql date
|
||||
NULL, // mysql datetime
|
||||
},
|
||||
{ // rowid
|
||||
DECLARE_CMP_FUNCS_NULLSAFE_RIGHTNULL_ENTRY(ObMaxTC),
|
||||
@ -3634,6 +3674,8 @@ const obj_cmp_func_nullsafe ObObjCmpFuncs::cmp_funcs_nullsafe[ObMaxTC][ObMaxTC]
|
||||
NULL, // udt
|
||||
NULL, // decimal int
|
||||
NULL, // collection
|
||||
NULL, // mysql date
|
||||
NULL, // mysql datetime
|
||||
},
|
||||
{ // lob
|
||||
DECLARE_CMP_FUNCS_NULLSAFE_RIGHTNULL_ENTRY(ObMaxTC),
|
||||
@ -3663,6 +3705,8 @@ const obj_cmp_func_nullsafe ObObjCmpFuncs::cmp_funcs_nullsafe[ObMaxTC][ObMaxTC]
|
||||
NULL, // udt
|
||||
NULL, // decimal int
|
||||
NULL, // collection
|
||||
NULL, // mysql date
|
||||
NULL, // mysql datetime
|
||||
},
|
||||
{ // json
|
||||
DECLARE_CMP_FUNCS_NULLSAFE_RIGHTNULL_ENTRY(ObMaxTC),
|
||||
@ -3692,6 +3736,8 @@ const obj_cmp_func_nullsafe ObObjCmpFuncs::cmp_funcs_nullsafe[ObMaxTC][ObMaxTC]
|
||||
NULL, // udt
|
||||
NULL, // decimal int
|
||||
NULL, // collection
|
||||
NULL, // mysql date
|
||||
NULL, // mysql datetime
|
||||
},
|
||||
{ // geometry
|
||||
DECLARE_CMP_FUNCS_NULLSAFE_RIGHTNULL_ENTRY(ObMaxTC),
|
||||
@ -3721,6 +3767,8 @@ const obj_cmp_func_nullsafe ObObjCmpFuncs::cmp_funcs_nullsafe[ObMaxTC][ObMaxTC]
|
||||
NULL, // udt
|
||||
NULL, // decimal int
|
||||
NULL, // collection
|
||||
NULL, // mysql date
|
||||
NULL, // mysql datetime
|
||||
},
|
||||
{ // udt
|
||||
DECLARE_CMP_FUNCS_NULLSAFE_RIGHTNULL_ENTRY(ObMaxTC),
|
||||
@ -3750,6 +3798,8 @@ const obj_cmp_func_nullsafe ObObjCmpFuncs::cmp_funcs_nullsafe[ObMaxTC][ObMaxTC]
|
||||
DECLARE_CMP_FUNCS_NULLSAFE_ENTRY(ObUserDefinedSQLTC, ObUserDefinedSQLTC, ObMaxTC, ObMaxTC), // udt
|
||||
NULL, // decimal int
|
||||
NULL, // collection
|
||||
NULL, // mysql date
|
||||
NULL, // mysql datetime
|
||||
},
|
||||
{ // decimal int
|
||||
DECLARE_CMP_FUNCS_NULLSAFE_RIGHTNULL_ENTRY(ObMaxTC), // null
|
||||
@ -3779,6 +3829,8 @@ const obj_cmp_func_nullsafe ObObjCmpFuncs::cmp_funcs_nullsafe[ObMaxTC][ObMaxTC]
|
||||
NULL, // udt
|
||||
DECLARE_CMP_FUNCS_NULLSAFE_ENTRY(ObDecimalIntTC, ObDecimalIntTC, ObMaxTC, ObMaxTC), // decimalint
|
||||
NULL, // collection
|
||||
NULL, // mysql date
|
||||
NULL, // mysql datetime
|
||||
}
|
||||
,
|
||||
{ // collection
|
||||
@ -3809,8 +3861,71 @@ const obj_cmp_func_nullsafe ObObjCmpFuncs::cmp_funcs_nullsafe[ObMaxTC][ObMaxTC]
|
||||
NULL, // udt
|
||||
NULL, // decimalint
|
||||
DECLARE_CMP_FUNCS_NULLSAFE_ENTRY(ObCollectionSQLTC, ObCollectionSQLTC, ObMaxTC, ObMaxTC), // collection
|
||||
NULL, // mysql date
|
||||
NULL, // mysql datetime
|
||||
},
|
||||
|
||||
{ // mysql date
|
||||
DECLARE_CMP_FUNCS_NULLSAFE_RIGHTNULL_ENTRY(ObMaxTC), // null
|
||||
NULL, // int
|
||||
NULL, // uint
|
||||
NULL, // float
|
||||
NULL, // double
|
||||
NULL, // number
|
||||
NULL, // datetime
|
||||
NULL, // date
|
||||
NULL, // time
|
||||
NULL, // year
|
||||
NULL, // string
|
||||
NULL, // extend
|
||||
NULL, // unknown
|
||||
NULL, // text
|
||||
NULL, // bit
|
||||
NULL, // enumset
|
||||
NULL, // enumset inner
|
||||
NULL, // otimestamp
|
||||
NULL, // raw.
|
||||
NULL, // interval
|
||||
NULL, // rowid
|
||||
NULL, // lob
|
||||
NULL, // json
|
||||
NULL, // geometry
|
||||
NULL, // udt
|
||||
NULL, // decimalint
|
||||
NULL, // collection
|
||||
NULL, // mysql date
|
||||
NULL, // mysql datetime
|
||||
},
|
||||
{ // mysql datetime
|
||||
DECLARE_CMP_FUNCS_NULLSAFE_RIGHTNULL_ENTRY(ObMaxTC), // null
|
||||
NULL, // int
|
||||
NULL, // uint
|
||||
NULL, // float
|
||||
NULL, // double
|
||||
NULL, // number
|
||||
NULL, // datetime
|
||||
NULL, // date
|
||||
NULL, // time
|
||||
NULL, // year
|
||||
NULL, // string
|
||||
NULL, // extend
|
||||
NULL, // unknown
|
||||
NULL, // text
|
||||
NULL, // bit
|
||||
NULL, // enumset
|
||||
NULL, // enumset inner
|
||||
NULL, // otimestamp
|
||||
NULL, // raw.
|
||||
NULL, // interval
|
||||
NULL, // rowid
|
||||
NULL, // lob
|
||||
NULL, // json
|
||||
NULL, // geometry
|
||||
NULL, // udt
|
||||
NULL, // decimalint
|
||||
NULL, // collection
|
||||
NULL, // mysql date
|
||||
NULL, // mysql datetime
|
||||
},
|
||||
};
|
||||
|
||||
const obj_cmp_func ObObjCmpFuncs::cmp_funcs[ObMaxTC][ObMaxTC][CO_MAX] =
|
||||
@ -3843,6 +3958,8 @@ const obj_cmp_func ObObjCmpFuncs::cmp_funcs[ObMaxTC][ObMaxTC][CO_MAX] =
|
||||
DEFINE_CMP_FUNCS_ENTRY(ObNullTC, ObMaxTC),//udt
|
||||
DEFINE_CMP_FUNCS_ENTRY(ObNullTC, ObMaxTC), // decimal int
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // collection
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql date
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql datetime
|
||||
},
|
||||
{ // int
|
||||
DEFINE_CMP_FUNCS_ENTRY(ObMaxTC, ObNullTC),
|
||||
@ -3872,6 +3989,8 @@ const obj_cmp_func ObObjCmpFuncs::cmp_funcs[ObMaxTC][ObMaxTC][CO_MAX] =
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, //udt
|
||||
DEFINE_CMP_FUNCS_ENTRY(ObIntTC, ObDecimalIntTC), // decimal int
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // collection
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql date
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql datetime
|
||||
},
|
||||
{ // uint
|
||||
DEFINE_CMP_FUNCS_ENTRY(ObMaxTC, ObNullTC),
|
||||
@ -3901,6 +4020,8 @@ const obj_cmp_func ObObjCmpFuncs::cmp_funcs[ObMaxTC][ObMaxTC][CO_MAX] =
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, //udt
|
||||
DEFINE_CMP_FUNCS_ENTRY(ObUIntTC, ObDecimalIntTC), // decimal int
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // collection
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql date
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql datetime
|
||||
},
|
||||
{ // float
|
||||
DEFINE_CMP_FUNCS_ENTRY(ObMaxTC, ObNullTC),
|
||||
@ -3930,6 +4051,8 @@ const obj_cmp_func ObObjCmpFuncs::cmp_funcs[ObMaxTC][ObMaxTC][CO_MAX] =
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, //udt
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // decimal int
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // collection
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql date
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql datetime
|
||||
},
|
||||
{ // double
|
||||
DEFINE_CMP_FUNCS_ENTRY(ObMaxTC, ObNullTC),
|
||||
@ -3959,6 +4082,8 @@ const obj_cmp_func ObObjCmpFuncs::cmp_funcs[ObMaxTC][ObMaxTC][CO_MAX] =
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, //udt
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // decimal int
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // collection
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql date
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql datetime
|
||||
},
|
||||
{ // number
|
||||
DEFINE_CMP_FUNCS_ENTRY(ObMaxTC, ObNullTC),
|
||||
@ -3988,6 +4113,8 @@ const obj_cmp_func ObObjCmpFuncs::cmp_funcs[ObMaxTC][ObMaxTC][CO_MAX] =
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, //udt
|
||||
DEFINE_CMP_FUNCS_ENTRY(ObNumberTC, ObDecimalIntTC), // decimal int
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // collection
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql date
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql datetime
|
||||
},
|
||||
{ // datetime
|
||||
DEFINE_CMP_FUNCS_ENTRY(ObMaxTC, ObNullTC),
|
||||
@ -4017,6 +4144,8 @@ const obj_cmp_func ObObjCmpFuncs::cmp_funcs[ObMaxTC][ObMaxTC][CO_MAX] =
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, //udt
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // decimal int
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // collection
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql date
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql datetime
|
||||
},
|
||||
{ // date
|
||||
DEFINE_CMP_FUNCS_ENTRY(ObMaxTC, ObNullTC),
|
||||
@ -4046,6 +4175,8 @@ const obj_cmp_func ObObjCmpFuncs::cmp_funcs[ObMaxTC][ObMaxTC][CO_MAX] =
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, //udt
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // decimal int
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // collection
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql date
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql datetime
|
||||
},
|
||||
{ // time
|
||||
DEFINE_CMP_FUNCS_ENTRY(ObMaxTC, ObNullTC),
|
||||
@ -4075,6 +4206,8 @@ const obj_cmp_func ObObjCmpFuncs::cmp_funcs[ObMaxTC][ObMaxTC][CO_MAX] =
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, //udt
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // decimal int
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // collection
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql date
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql datetime
|
||||
},
|
||||
{ // year
|
||||
DEFINE_CMP_FUNCS_ENTRY(ObMaxTC, ObNullTC),
|
||||
@ -4104,6 +4237,8 @@ const obj_cmp_func ObObjCmpFuncs::cmp_funcs[ObMaxTC][ObMaxTC][CO_MAX] =
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, //udt
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // decimal int
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // collection
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql date
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql datetime
|
||||
},
|
||||
{ // string
|
||||
DEFINE_CMP_FUNCS_ENTRY(ObMaxTC, ObNullTC),
|
||||
@ -4133,6 +4268,8 @@ const obj_cmp_func ObObjCmpFuncs::cmp_funcs[ObMaxTC][ObMaxTC][CO_MAX] =
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, //udt
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // decimal int
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // collection
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql date
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql datetime
|
||||
},
|
||||
{ // extend
|
||||
DEFINE_CMP_FUNCS_ENTRY(ObExtendTC, ObNullTC),
|
||||
@ -4162,6 +4299,8 @@ const obj_cmp_func ObObjCmpFuncs::cmp_funcs[ObMaxTC][ObMaxTC][CO_MAX] =
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, //udt
|
||||
DEFINE_CMP_FUNCS_ENTRY(ObExtendTC, ObMaxTC), // decimal int
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // collection
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql date
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql datetime
|
||||
},
|
||||
{ // unknown
|
||||
DEFINE_CMP_FUNCS_ENTRY(ObMaxTC, ObNullTC),
|
||||
@ -4191,6 +4330,8 @@ const obj_cmp_func ObObjCmpFuncs::cmp_funcs[ObMaxTC][ObMaxTC][CO_MAX] =
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, //udt
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, //decimal int
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // collection
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql date
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql datetime
|
||||
},
|
||||
{ // text
|
||||
DEFINE_CMP_FUNCS_ENTRY(ObMaxTC, ObNullTC),
|
||||
@ -4220,6 +4361,8 @@ const obj_cmp_func ObObjCmpFuncs::cmp_funcs[ObMaxTC][ObMaxTC][CO_MAX] =
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, //udt
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, //decimal int
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // collection
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql date
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql datetime
|
||||
},
|
||||
{ // bit
|
||||
DEFINE_CMP_FUNCS_ENTRY(ObMaxTC, ObNullTC),
|
||||
@ -4249,6 +4392,8 @@ const obj_cmp_func ObObjCmpFuncs::cmp_funcs[ObMaxTC][ObMaxTC][CO_MAX] =
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, //udt
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // decimal int
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // collection
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql date
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql datetime
|
||||
},
|
||||
{ //enumset
|
||||
DEFINE_CMP_FUNCS_ENTRY(ObMaxTC, ObNullTC),
|
||||
@ -4278,6 +4423,8 @@ const obj_cmp_func ObObjCmpFuncs::cmp_funcs[ObMaxTC][ObMaxTC][CO_MAX] =
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, //udt
|
||||
DEFINE_CMP_FUNCS_ENTRY(ObEnumSetTC, ObDecimalIntTC), // decimal int
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // collection
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql date
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql datetime
|
||||
},
|
||||
{ //enumsetInner
|
||||
DEFINE_CMP_FUNCS_ENTRY(ObMaxTC, ObNullTC),
|
||||
@ -4307,6 +4454,8 @@ const obj_cmp_func ObObjCmpFuncs::cmp_funcs[ObMaxTC][ObMaxTC][CO_MAX] =
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, //udt
|
||||
DEFINE_CMP_FUNCS_ENTRY(ObEnumSetInnerTC, ObDecimalIntTC), // decimal int
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // collection
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql date
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql datetime
|
||||
},
|
||||
{ // otimestamp
|
||||
DEFINE_CMP_FUNCS_ENTRY(ObMaxTC, ObNullTC),
|
||||
@ -4336,6 +4485,8 @@ const obj_cmp_func ObObjCmpFuncs::cmp_funcs[ObMaxTC][ObMaxTC][CO_MAX] =
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, //udt
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // decimal int
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // collection
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql date
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql datetime
|
||||
},
|
||||
{ // raw
|
||||
DEFINE_CMP_FUNCS_ENTRY(ObMaxTC, ObNullTC),
|
||||
@ -4365,6 +4516,8 @@ const obj_cmp_func ObObjCmpFuncs::cmp_funcs[ObMaxTC][ObMaxTC][CO_MAX] =
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, //udt
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // decimal int
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // collection
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql date
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql datetime
|
||||
},
|
||||
{ // interval
|
||||
DEFINE_CMP_FUNCS_ENTRY(ObMaxTC, ObNullTC), //null
|
||||
@ -4394,6 +4547,8 @@ const obj_cmp_func ObObjCmpFuncs::cmp_funcs[ObMaxTC][ObMaxTC][CO_MAX] =
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, //udt
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // decimal int
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // collection
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql date
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql datetime
|
||||
},
|
||||
{ // rowid
|
||||
DEFINE_CMP_FUNCS_ENTRY(ObMaxTC, ObNullTC), //null
|
||||
@ -4423,6 +4578,8 @@ const obj_cmp_func ObObjCmpFuncs::cmp_funcs[ObMaxTC][ObMaxTC][CO_MAX] =
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, //udt
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // decimal int
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // collection
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql date
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql datetime
|
||||
},
|
||||
{ // lob
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, //null
|
||||
@ -4452,6 +4609,8 @@ const obj_cmp_func ObObjCmpFuncs::cmp_funcs[ObMaxTC][ObMaxTC][CO_MAX] =
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, //udt
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // decimal int
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // collection
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql date
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql datetime
|
||||
},
|
||||
{ // json
|
||||
DEFINE_CMP_FUNCS_ENTRY(ObMaxTC, ObNullTC), //null
|
||||
@ -4481,6 +4640,8 @@ const obj_cmp_func ObObjCmpFuncs::cmp_funcs[ObMaxTC][ObMaxTC][CO_MAX] =
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, //udt
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // decimal int
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // collection
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql date
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql datetime
|
||||
},
|
||||
{ // geometry
|
||||
DEFINE_CMP_FUNCS_ENTRY(ObMaxTC, ObNullTC), //null
|
||||
@ -4510,6 +4671,8 @@ const obj_cmp_func ObObjCmpFuncs::cmp_funcs[ObMaxTC][ObMaxTC][CO_MAX] =
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, //udt
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // decimal int
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // collection
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql date
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql datetime
|
||||
},
|
||||
{ // udt
|
||||
DEFINE_CMP_FUNCS_ENTRY(ObMaxTC, ObNullTC), //null
|
||||
@ -4539,6 +4702,8 @@ const obj_cmp_func ObObjCmpFuncs::cmp_funcs[ObMaxTC][ObMaxTC][CO_MAX] =
|
||||
DEFINE_CMP_FUNCS_ENTRY(ObUserDefinedSQLTC, ObUserDefinedSQLTC), // compare for udt nested null bitmap
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // decimal int
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // collection
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql date
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql datetime
|
||||
},
|
||||
{ // decimalint
|
||||
DEFINE_CMP_FUNCS_ENTRY(ObMaxTC, ObNullTC), //null
|
||||
@ -4567,7 +4732,9 @@ const obj_cmp_func ObObjCmpFuncs::cmp_funcs[ObMaxTC][ObMaxTC][CO_MAX] =
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, //geometry
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // udt
|
||||
DEFINE_CMP_FUNCS_ENTRY(ObDecimalIntTC, ObDecimalIntTC), // decimal int
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // collection
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // collection
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql date
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql datetime
|
||||
},
|
||||
{ // collection
|
||||
DEFINE_CMP_FUNCS_ENTRY(ObMaxTC, ObNullTC), //null
|
||||
@ -4597,7 +4764,71 @@ const obj_cmp_func ObObjCmpFuncs::cmp_funcs[ObMaxTC][ObMaxTC][CO_MAX] =
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, //udt
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // decimal int
|
||||
DEFINE_CMP_FUNCS_ENTRY(ObCollectionSQLTC, ObCollectionSQLTC), // collection
|
||||
}
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql date
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql datetime
|
||||
},
|
||||
{ // mysql date
|
||||
DEFINE_CMP_FUNCS_ENTRY(ObMaxTC, ObNullTC), //null
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // int
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // uint
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // float
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // double
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // number
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // datetime
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // date
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // time
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // year
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // string
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // extend
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // unknown
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // text
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // bit
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // enumset
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // enumsetInner will not go here
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // otimestamp
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // raw
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // interval
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, //rowid
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, //lob
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // json
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, //geometry
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // udt
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // decimal int
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // collection
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql date
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql datetime
|
||||
},
|
||||
{ // mysql datetime
|
||||
DEFINE_CMP_FUNCS_ENTRY(ObMaxTC, ObNullTC), //null
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // int
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // uint
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // float
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // double
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // number
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // datetime
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // date
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // time
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // year
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // string
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // extend
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // unknown
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // text
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // bit
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // enumset
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // enumsetInner will not go here
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // otimestamp
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // raw
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // interval
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, //rowid
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, //lob
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // json
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, //geometry
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // udt
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // decimal int
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // collection
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql date
|
||||
DEFINE_CMP_FUNCS_ENTRY_NULL, // mysql datetime
|
||||
},
|
||||
};
|
||||
|
||||
const ObObj ObObjCmpFuncs::cmp_res_objs_bool[CR_BOOL_CNT] =
|
||||
|
10
deps/oblib/src/common/object/ob_obj_type.cpp
vendored
10
deps/oblib/src/common/object/ob_obj_type.cpp
vendored
@ -106,6 +106,8 @@ const char *ob_sql_type_str(ObObjType type)
|
||||
"UDT",
|
||||
"DECIMAL_INT",
|
||||
"COLLECTION",
|
||||
"MYSQL_DATE",
|
||||
"MYSQL_DATETIME",
|
||||
""
|
||||
},
|
||||
{
|
||||
@ -163,6 +165,8 @@ const char *ob_sql_type_str(ObObjType type)
|
||||
"UDT",
|
||||
"DECIMAL_INT",
|
||||
"COLLECTION",
|
||||
"MYSQL_DATE",
|
||||
"MYSQL_DATETIME",
|
||||
""
|
||||
}
|
||||
};
|
||||
@ -763,6 +767,8 @@ int ob_sql_type_str(char *buff,
|
||||
nullptr, // udt
|
||||
ob_decimal_int_str, //decimal int
|
||||
nullptr, // collection
|
||||
nullptr, // mysql date
|
||||
nullptr, // mysql datetime
|
||||
ob_empty_str // MAX
|
||||
};
|
||||
static_assert(sizeof(sql_type_name) / sizeof(ObSqlTypeStrFunc) == ObMaxType + 1, "Not enough initializer");
|
||||
@ -850,6 +856,8 @@ int ob_sql_type_str(char *buff,
|
||||
nullptr,//udt
|
||||
ob_decimal_int_str_without_accuracy,//decimal int
|
||||
nullptr,//collection
|
||||
nullptr,//mysql date
|
||||
nullptr,//mysql datetime
|
||||
ob_empty_str // MAX
|
||||
};
|
||||
static_assert(sizeof(sql_type_name) / sizeof(obSqlTypeStrWithoutAccuracyFunc) == ObMaxType + 1, "Not enough initializer");
|
||||
@ -950,6 +958,8 @@ const char *ob_sql_tc_str(ObObjTypeClass tc)
|
||||
"UDT",
|
||||
"DECIMAL_INT",
|
||||
"COLLECTION",
|
||||
"MYSQL_DATE",
|
||||
"MYSQL_DATETIME",
|
||||
""
|
||||
};
|
||||
static_assert(sizeof(sql_tc_name) / sizeof(const char *) == ObMaxTC + 1, "Not enough initializer");
|
||||
|
12
deps/oblib/src/common/object/ob_obj_type.h
vendored
12
deps/oblib/src/common/object/ob_obj_type.h
vendored
@ -93,6 +93,8 @@ enum ObObjType
|
||||
ObUserDefinedSQLType = 49, // User defined type in SQL
|
||||
ObDecimalIntType = 50, // decimal int type
|
||||
ObCollectionSQLType = 51, // collection(varray and nested table) in SQL
|
||||
ObMySQLDateType = 52, // date type which is compatible with MySQL.
|
||||
ObMySQLDateTimeType = 53, // datetime type which is compatible with MySQL.
|
||||
ObMaxType // invalid type, or count of obj type
|
||||
};
|
||||
|
||||
@ -214,6 +216,8 @@ static ObObjOType OBJ_TYPE_TO_O_TYPE[ObMaxType+1] = {
|
||||
ObOUDTSqlType, //ObUserDefinedSQLType = 49,
|
||||
ObONumberType, //ObDecimalIntType = 50,
|
||||
ObOCollectionSqlType, //ObCollectionSQLType = 51,
|
||||
ObONotSupport, //ObMySQLDateType = 52,
|
||||
ObONotSupport, //ObMySQLDateTimeType = 53,
|
||||
ObONotSupport //ObMaxType,
|
||||
};
|
||||
|
||||
@ -247,6 +251,8 @@ enum ObObjTypeClass
|
||||
ObUserDefinedSQLTC = 24, // user defined type class in SQL
|
||||
ObDecimalIntTC = 25, // decimal int class
|
||||
ObCollectionSQLTC = 26, // collection type class in SQL
|
||||
ObMySQLDateTC = 27, // mysql date type class
|
||||
ObMySQLDateTimeTC = 28, // mysql date time type class
|
||||
ObMaxTC,
|
||||
// invalid type classes are below, only used as the result of XXXX_type_promotion()
|
||||
// to indicate that the two obj can't be promoted to the same type.
|
||||
@ -309,7 +315,9 @@ enum ObObjTypeClass
|
||||
(ObGeometryType, ObGeometryTC), \
|
||||
(ObUserDefinedSQLType, ObUserDefinedSQLTC),\
|
||||
(ObDecimalIntType, ObDecimalIntTC),\
|
||||
(ObCollectionSQLType, ObCollectionSQLTC)
|
||||
(ObCollectionSQLType, ObCollectionSQLTC), \
|
||||
(ObMySQLDateType, ObMySQLDateTC), \
|
||||
(ObMySQLDateTimeType, ObMySQLDateTimeTC)
|
||||
|
||||
#define SELECT_SECOND(x, y) y
|
||||
#define SELECT_TC(arg) SELECT_SECOND arg
|
||||
@ -351,6 +359,8 @@ const ObObjType OBJ_DEFAULT_TYPE[ObActualMaxTC] =
|
||||
ObUserDefinedSQLType, // user defined type in sql
|
||||
ObDecimalIntType, // decimal int
|
||||
ObCollectionSQLType, // collection type in sql
|
||||
ObMySQLDateType, // mysql date
|
||||
ObMySQLDateTimeType, // mysql datetime
|
||||
ObMaxType, // maxtype
|
||||
ObUInt64Type, // int&uint
|
||||
ObMaxType, // lefttype
|
||||
|
2
deps/oblib/src/common/object/ob_object.cpp
vendored
2
deps/oblib/src/common/object/ob_object.cpp
vendored
@ -1901,6 +1901,8 @@ ObObjTypeFuncs OBJ_FUNCS[ObMaxType] =
|
||||
DEF_FUNC_ENTRY(ObUserDefinedSQLType),// 49, udt
|
||||
DEF_FUNC_ENTRY(ObDecimalIntType), // 50, decimal int
|
||||
DEF_FUNC_ENTRY(ObCollectionSQLType), // 51, collection
|
||||
DEF_FUNC_ENTRY(ObNullType), // 52, mysql date
|
||||
DEF_FUNC_ENTRY(ObNullType), // 53, mysql datetime
|
||||
};
|
||||
|
||||
ob_obj_hash ObObjUtil::get_murmurhash_v3(ObObjType type)
|
||||
|
@ -125,7 +125,9 @@ static ObGetIRType OB_IR_TYPE[common::ObMaxType + 1] =
|
||||
NULL, //49.ObUserDefinedSQLType
|
||||
NULL, //50. ObDecimalIntType
|
||||
NULL, //51.ObCollectionSQLType
|
||||
NULL, //52.ObMaxType
|
||||
reinterpret_cast<ObGetIRType>(ObIRType::getInt32Ty), //52.ObMySQLDateType
|
||||
reinterpret_cast<ObGetIRType>(ObIRType::getInt64Ty), //53.ObMySQLDateTimeType
|
||||
NULL, //54.ObMaxType
|
||||
};
|
||||
|
||||
template<typename T, int64_t N>
|
||||
|
@ -76,6 +76,8 @@ ObObjDatumMapType ObDatum::get_obj_datum_map_type(const ObObjType type)
|
||||
OBJ_DATUM_STRING, // ObUserDefinedSQLType
|
||||
OBJ_DATUM_DECIMALINT, // ObDecimalIntType
|
||||
OBJ_DATUM_STRING, // ObCollectionSQLType
|
||||
OBJ_DATUM_4BYTE_DATA, // ObMySQLDateType
|
||||
OBJ_DATUM_8BYTE_DATA, // ObMySQLDateTimeType
|
||||
};
|
||||
static_assert(sizeof(maps) / sizeof(maps[0]) == ObMaxType,
|
||||
"new added type should extend this map");
|
||||
|
@ -893,13 +893,15 @@ inline int ObDatum::from_obj(const ObObj &obj)
|
||||
case ObBitType:
|
||||
case ObEnumType:
|
||||
case ObSetType:
|
||||
case ObIntervalYMType: {
|
||||
case ObIntervalYMType:
|
||||
case ObMySQLDateTimeType: {
|
||||
obj2datum<OBJ_DATUM_8BYTE_DATA>(obj);
|
||||
break;
|
||||
}
|
||||
case ObFloatType:
|
||||
case ObUFloatType:
|
||||
case ObDateType: {
|
||||
case ObDateType:
|
||||
case ObMySQLDateType: {
|
||||
obj2datum<OBJ_DATUM_4BYTE_DATA>(obj);
|
||||
break;
|
||||
}
|
||||
@ -1039,13 +1041,15 @@ inline int ObDatum::to_obj(ObObj &obj, const ObObjMeta &meta) const
|
||||
case ObBitType:
|
||||
case ObEnumType:
|
||||
case ObSetType:
|
||||
case ObIntervalYMType: {
|
||||
case ObIntervalYMType:
|
||||
case ObMySQLDateTimeType: {
|
||||
datum2obj<OBJ_DATUM_8BYTE_DATA>(obj);
|
||||
break;
|
||||
}
|
||||
case ObFloatType:
|
||||
case ObUFloatType:
|
||||
case ObDateType: {
|
||||
case ObDateType:
|
||||
case ObMySQLDateType: {
|
||||
datum2obj<OBJ_DATUM_4BYTE_DATA>(obj);
|
||||
break;
|
||||
}
|
||||
|
@ -7038,6 +7038,16 @@ ObCastEnumOrSetFunc OB_CAST_ENUM_OR_SET[ObMaxTC][2] =
|
||||
cast_not_support_enum_set,/*enum*/
|
||||
cast_not_support_enum_set,/*set*/
|
||||
},
|
||||
{
|
||||
/*ObMySQLDateTC -> enum_or_set*/
|
||||
cast_not_support_enum_set,/*enum*/
|
||||
cast_not_support_enum_set,/*set*/
|
||||
},
|
||||
{
|
||||
/*ObMySQLDateTimeTC -> enum_or_set*/
|
||||
cast_not_support_enum_set,/*enum*/
|
||||
cast_not_support_enum_set,/*set*/
|
||||
},
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
@ -10625,6 +10635,8 @@ ObObjCastFunc OB_OBJ_CAST[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt, mysql mode does not have udt*/
|
||||
cast_identity,/*decimalint*/
|
||||
cast_not_expected,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*int -> XXX*/
|
||||
@ -10655,6 +10667,8 @@ ObObjCastFunc OB_OBJ_CAST[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt*/
|
||||
int_decimalint,/*decimal int*/
|
||||
cast_not_expected,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*uint -> XXX*/
|
||||
@ -10685,6 +10699,8 @@ ObObjCastFunc OB_OBJ_CAST[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt*/
|
||||
uint_decimalint,/*decimalint*/
|
||||
cast_not_expected,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*float -> XXX*/
|
||||
@ -10715,6 +10731,8 @@ ObObjCastFunc OB_OBJ_CAST[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt*/
|
||||
float_decimalint,/*decimalint*/
|
||||
cast_not_expected,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*double -> XXX*/
|
||||
@ -10745,6 +10763,8 @@ ObObjCastFunc OB_OBJ_CAST[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt*/
|
||||
double_decimalint,/*decimalint*/
|
||||
cast_not_expected,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*number -> XXX*/
|
||||
@ -10775,6 +10795,8 @@ ObObjCastFunc OB_OBJ_CAST[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt*/
|
||||
number_decimalint,/*decimalint*/
|
||||
cast_not_expected,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*datetime -> XXX*/
|
||||
@ -10805,6 +10827,8 @@ ObObjCastFunc OB_OBJ_CAST[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt*/
|
||||
datetime_decimalint,/*decimalint*/
|
||||
cast_not_expected,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*date -> XXX*/
|
||||
@ -10835,6 +10859,8 @@ ObObjCastFunc OB_OBJ_CAST[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt*/
|
||||
date_decimalint,/*decimalint*/
|
||||
cast_not_expected,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*time -> XXX*/
|
||||
@ -10865,6 +10891,8 @@ ObObjCastFunc OB_OBJ_CAST[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt*/
|
||||
time_decimalint,/*decimalint*/
|
||||
cast_not_expected,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*year -> XXX*/
|
||||
@ -10895,6 +10923,8 @@ ObObjCastFunc OB_OBJ_CAST[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt*/
|
||||
year_decimalint,/*decimalint*/
|
||||
cast_not_expected,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*string -> XXX*/
|
||||
@ -10925,6 +10955,8 @@ ObObjCastFunc OB_OBJ_CAST[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt*/
|
||||
string_decimalint,/*decimalint*/
|
||||
cast_not_expected,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*extend -> XXX*/
|
||||
@ -10955,6 +10987,8 @@ ObObjCastFunc OB_OBJ_CAST[ObMaxTC][ObMaxTC] =
|
||||
pl_extend_sql_udt,/*udt*/
|
||||
cast_not_support,/*decimalint*/
|
||||
cast_not_expected,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*unknown -> XXX*/
|
||||
@ -10985,6 +11019,8 @@ ObObjCastFunc OB_OBJ_CAST[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt*/
|
||||
unknown_other,/*decimalint*/
|
||||
cast_not_expected,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*text -> XXX*/
|
||||
@ -11015,6 +11051,8 @@ ObObjCastFunc OB_OBJ_CAST[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt*/
|
||||
text_decimalint,/*decimalint*/
|
||||
cast_not_expected,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*bit -> XXX*/
|
||||
@ -11045,6 +11083,8 @@ ObObjCastFunc OB_OBJ_CAST[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt*/
|
||||
bit_decimalint,/*decimalint*/
|
||||
cast_not_expected,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*enum -> XXX*/
|
||||
@ -11075,6 +11115,8 @@ ObObjCastFunc OB_OBJ_CAST[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt*/
|
||||
enumset_decimalint,/*decimalint*/
|
||||
cast_not_expected,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*enumset_inner -> XXX*/
|
||||
@ -11105,6 +11147,8 @@ ObObjCastFunc OB_OBJ_CAST[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt*/
|
||||
enumset_inner_decimalint,/*decimalint*/
|
||||
cast_not_expected,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*otimestamp -> XXX*/
|
||||
@ -11135,6 +11179,8 @@ ObObjCastFunc OB_OBJ_CAST[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_not_expected,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*raw -> XXX*/
|
||||
@ -11165,6 +11211,8 @@ ObObjCastFunc OB_OBJ_CAST[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_not_expected,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*interval -> XXX*/
|
||||
@ -11195,6 +11243,8 @@ ObObjCastFunc OB_OBJ_CAST[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_not_expected,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*rowid -> XXX*/
|
||||
@ -11225,6 +11275,8 @@ ObObjCastFunc OB_OBJ_CAST[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_not_expected,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*lob -> XXX*/
|
||||
@ -11255,6 +11307,8 @@ ObObjCastFunc OB_OBJ_CAST[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt*/
|
||||
lob_decimalint,/*decimalint*/
|
||||
cast_not_expected,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*json -> XXX*/
|
||||
@ -11285,6 +11339,8 @@ ObObjCastFunc OB_OBJ_CAST[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt*/
|
||||
json_decimalint,/*decimalint*/
|
||||
cast_not_expected,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*geometry -> XXX*/
|
||||
@ -11315,6 +11371,8 @@ ObObjCastFunc OB_OBJ_CAST[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt*/
|
||||
geometry_decimalint,/*decimalint*/
|
||||
cast_not_expected,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*udt -> XXX*/
|
||||
@ -11343,7 +11401,10 @@ ObObjCastFunc OB_OBJ_CAST[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*json*/
|
||||
cast_not_expected,/*geometry*/
|
||||
cast_not_expected,/*udt*/
|
||||
cast_not_expected,/*decimal int */
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_not_expected,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*decimalint-> XXX*/
|
||||
@ -11374,6 +11435,8 @@ ObObjCastFunc OB_OBJ_CAST[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected, /*udt*/
|
||||
decimalint_decimalint,/*decimalint*/
|
||||
cast_not_expected,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*collection-> xxx*/
|
||||
@ -11404,7 +11467,73 @@ ObObjCastFunc OB_OBJ_CAST[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected, /*udt*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_not_expected,/*collection*/
|
||||
}
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*mysql date-> xxx*/
|
||||
cast_not_expected,/*null*/
|
||||
cast_not_expected,/*int*/
|
||||
cast_not_expected,/*uint*/
|
||||
cast_not_expected,/*float*/
|
||||
cast_not_expected,/*double*/
|
||||
cast_not_expected,/*number*/
|
||||
cast_not_expected,/*datetime*/
|
||||
cast_not_expected,/*date*/
|
||||
cast_not_expected,/*time*/
|
||||
cast_not_expected,/*year*/
|
||||
cast_not_expected,/*string*/
|
||||
cast_not_expected,/*extend*/
|
||||
cast_not_expected,/*unknown*/
|
||||
cast_not_expected,/*text*/
|
||||
cast_not_expected,/*bit*/
|
||||
cast_not_expected,/*enumset*/
|
||||
cast_not_expected,/*enumset_inner*/
|
||||
cast_not_expected,/*otimestamp*/
|
||||
cast_not_expected,/*raw*/
|
||||
cast_not_expected,/*interval*/
|
||||
cast_not_expected,/*rowid*/
|
||||
cast_not_expected,/*lob*/
|
||||
cast_not_expected,/*json*/
|
||||
cast_not_expected,/*geometry*/
|
||||
cast_not_expected, /*udt*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_not_expected,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*mysql datetime-> xxx*/
|
||||
cast_not_expected,/*null*/
|
||||
cast_not_expected,/*int*/
|
||||
cast_not_expected,/*uint*/
|
||||
cast_not_expected,/*float*/
|
||||
cast_not_expected,/*double*/
|
||||
cast_not_expected,/*number*/
|
||||
cast_not_expected,/*datetime*/
|
||||
cast_not_expected,/*date*/
|
||||
cast_not_expected,/*time*/
|
||||
cast_not_expected,/*year*/
|
||||
cast_not_expected,/*string*/
|
||||
cast_not_expected,/*extend*/
|
||||
cast_not_expected,/*unknown*/
|
||||
cast_not_expected,/*text*/
|
||||
cast_not_expected,/*bit*/
|
||||
cast_not_expected,/*enumset*/
|
||||
cast_not_expected,/*enumset_inner*/
|
||||
cast_not_expected,/*otimestamp*/
|
||||
cast_not_expected,/*raw*/
|
||||
cast_not_expected,/*interval*/
|
||||
cast_not_expected,/*rowid*/
|
||||
cast_not_expected,/*lob*/
|
||||
cast_not_expected,/*json*/
|
||||
cast_not_expected,/*geometry*/
|
||||
cast_not_expected, /*udt*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_not_expected,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
};
|
||||
|
||||
ObObjCastFunc OBJ_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
@ -11438,6 +11567,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_identity,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*int -> XXX*/
|
||||
@ -11468,6 +11599,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
int_decimalint,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*uint -> XXX*/
|
||||
@ -11498,6 +11631,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
uint_decimalint,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*float -> XXX*/
|
||||
@ -11528,6 +11663,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
float_decimalint,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*double -> XXX*/
|
||||
@ -11558,6 +11695,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
double_decimalint, /*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*number -> XXX*/
|
||||
@ -11588,6 +11727,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
number_decimalint,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*datetime -> XXX*/
|
||||
@ -11618,6 +11759,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_not_support,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*date -> XXX*/
|
||||
@ -11648,6 +11791,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_not_support,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*time -> XXX*/
|
||||
@ -11678,6 +11823,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_not_support,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*year -> XXX*/
|
||||
@ -11708,6 +11855,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_not_support,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*string -> XXX*/
|
||||
@ -11738,6 +11887,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
string_decimalint,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*extend -> XXX*/
|
||||
@ -11768,6 +11919,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
pl_extend_sql_udt,/*udt*/
|
||||
cast_not_support,/*decimalint*/
|
||||
pl_extend_sql_udt,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*unknown -> XXX*/
|
||||
@ -11798,6 +11951,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
unknown_other,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*text -> XXX*/
|
||||
@ -11828,6 +11983,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
text_decimalint,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*bit -> XXX*/
|
||||
@ -11858,6 +12015,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*enum -> XXX*/
|
||||
@ -11888,6 +12047,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*enumset_inner -> XXX*/
|
||||
@ -11918,6 +12079,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*otimestamp -> XXX*/
|
||||
@ -11948,6 +12111,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_not_support,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*raw -> XXX*/
|
||||
@ -11978,6 +12143,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_not_support,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*interval -> XXX*/
|
||||
@ -12008,6 +12175,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*rowid -> XXX*/
|
||||
@ -12038,6 +12207,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_not_support,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*lob -> XXX*/
|
||||
@ -12068,6 +12239,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
lob_decimalint,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*json -> XXX, not support oracle currently*/
|
||||
@ -12098,6 +12271,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_not_support,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*geometry -> XXX, not support oracle currently*/
|
||||
@ -12128,6 +12303,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_not_support,/*udt*/
|
||||
cast_not_support,/*decimalint*/
|
||||
cast_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*udt -> XXX, not support oracle currently*/
|
||||
@ -12158,6 +12335,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_udt_to_other_not_support,/*udt*/
|
||||
cast_udt_to_other_not_support,/*decimal int*/
|
||||
cast_udt_to_other_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*decimalint -> XXX*/
|
||||
@ -12188,6 +12367,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support, /*udt*/
|
||||
decimalint_decimalint,/*decimalint*/
|
||||
cast_to_udt_not_support, /*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*collection -> XXX*/
|
||||
@ -12218,6 +12399,72 @@ ObObjCastFunc OBJ_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_udt_to_other_not_support,/*udt*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_udt_to_other_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*mysql date*/
|
||||
cast_not_expected,/*null*/
|
||||
cast_not_expected,/*int*/
|
||||
cast_not_expected,/*uint*/
|
||||
cast_not_expected,/*float*/
|
||||
cast_not_expected,/*double*/
|
||||
cast_not_expected,/*number*/
|
||||
cast_not_expected,/*datetime*/
|
||||
cast_not_expected,/*date*/
|
||||
cast_not_expected,/*time*/
|
||||
cast_not_expected,/*year*/
|
||||
cast_not_expected,/*string*/
|
||||
cast_not_expected,/*extend*/
|
||||
cast_not_expected,/*unknown*/
|
||||
cast_not_expected,/*text*/
|
||||
cast_not_expected,/*bit*/
|
||||
cast_not_expected,/*enumset*/
|
||||
cast_not_expected,/*enumset_inner*/
|
||||
cast_not_expected,/*otimestamp*/
|
||||
cast_not_expected,/*raw*/
|
||||
cast_not_expected,/*interval*/
|
||||
cast_not_expected,/*rowid*/
|
||||
cast_not_expected,/*lob*/
|
||||
cast_not_expected,/*json*/
|
||||
cast_not_expected,/*geometry*/
|
||||
cast_not_expected, /*udt*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_not_expected,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*mysql datetime*/
|
||||
cast_not_expected,/*null*/
|
||||
cast_not_expected,/*int*/
|
||||
cast_not_expected,/*uint*/
|
||||
cast_not_expected,/*float*/
|
||||
cast_not_expected,/*double*/
|
||||
cast_not_expected,/*number*/
|
||||
cast_not_expected,/*datetime*/
|
||||
cast_not_expected,/*date*/
|
||||
cast_not_expected,/*time*/
|
||||
cast_not_expected,/*year*/
|
||||
cast_not_expected,/*string*/
|
||||
cast_not_expected,/*extend*/
|
||||
cast_not_expected,/*unknown*/
|
||||
cast_not_expected,/*text*/
|
||||
cast_not_expected,/*bit*/
|
||||
cast_not_expected,/*enumset*/
|
||||
cast_not_expected,/*enumset_inner*/
|
||||
cast_not_expected,/*otimestamp*/
|
||||
cast_not_expected,/*raw*/
|
||||
cast_not_expected,/*interval*/
|
||||
cast_not_expected,/*rowid*/
|
||||
cast_not_expected,/*lob*/
|
||||
cast_not_expected,/*json*/
|
||||
cast_not_expected,/*geometry*/
|
||||
cast_not_expected, /*udt*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_not_expected,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
};
|
||||
|
||||
@ -12261,6 +12508,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_identity,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*int -> XXX*/
|
||||
@ -12291,6 +12540,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
int_decimalint,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*uint -> XXX*/
|
||||
@ -12321,6 +12572,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
uint_decimalint,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*float -> XXX*/
|
||||
@ -12351,6 +12604,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
float_decimalint,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*double -> XXX*/
|
||||
@ -12381,6 +12636,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
double_decimalint,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*number -> XXX*/
|
||||
@ -12411,6 +12668,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
number_decimalint,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*datetime -> XXX*/
|
||||
@ -12441,6 +12700,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_inconsistent_types,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*date -> XXX*/
|
||||
@ -12471,6 +12732,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*time -> XXX*/
|
||||
@ -12501,6 +12764,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*year -> XXX*/
|
||||
@ -12531,6 +12796,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*string -> XXX*/
|
||||
@ -12561,6 +12828,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
string_sql_udt,/*udt*/
|
||||
string_decimalint,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*extend -> XXX*/
|
||||
@ -12591,6 +12860,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
pl_extend_sql_udt,/*udt*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
pl_extend_sql_udt,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*unknown -> XXX*/
|
||||
@ -12621,6 +12892,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*text -> XXX*/
|
||||
@ -12651,6 +12924,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
text_decimalint,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*bit -> XXX*/
|
||||
@ -12681,6 +12956,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*enum -> XXX*/
|
||||
@ -12711,6 +12988,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*enumset_inner -> XXX*/
|
||||
@ -12741,6 +13020,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*otimestamp -> XXX*/
|
||||
@ -12771,6 +13052,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_inconsistent_types,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*raw -> XXX*/
|
||||
@ -12801,6 +13084,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_inconsistent_types,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*interval -> XXX*/
|
||||
@ -12831,6 +13116,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_inconsistent_types,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/* rowid -> XXX */
|
||||
@ -12861,6 +13148,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_inconsistent_types,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*lob -> XXX*/
|
||||
@ -12891,6 +13180,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
lob_decimalint,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*json -> XXX*/
|
||||
@ -12921,6 +13212,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_not_support,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*geoemtry -> XXX, not support oracle currently*/
|
||||
@ -12951,6 +13244,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_not_support,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*udt -> XXX*/
|
||||
@ -12981,6 +13276,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_udt_to_other_not_support,/*udt*/
|
||||
cast_udt_to_other_not_support,/*decimal int*/
|
||||
cast_udt_to_other_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*decimalint -> XXX*/
|
||||
@ -13011,6 +13308,8 @@ ObObjCastFunc OBJ_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support, /* udt */
|
||||
decimalint_decimalint,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*collection -> XXX*/
|
||||
@ -13041,6 +13340,72 @@ ObObjCastFunc OBJ_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_udt_to_other_not_support,/*udt*/
|
||||
cast_udt_to_other_not_support,/*decimalint*/
|
||||
cast_udt_to_other_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*mysql date*/
|
||||
cast_not_expected,/*null*/
|
||||
cast_not_expected,/*int*/
|
||||
cast_not_expected,/*uint*/
|
||||
cast_not_expected,/*float*/
|
||||
cast_not_expected,/*double*/
|
||||
cast_not_expected,/*number*/
|
||||
cast_not_expected,/*datetime*/
|
||||
cast_not_expected,/*date*/
|
||||
cast_not_expected,/*time*/
|
||||
cast_not_expected,/*year*/
|
||||
cast_not_expected,/*string*/
|
||||
cast_not_expected,/*extend*/
|
||||
cast_not_expected,/*unknown*/
|
||||
cast_not_expected,/*text*/
|
||||
cast_not_expected,/*bit*/
|
||||
cast_not_expected,/*enumset*/
|
||||
cast_not_expected,/*enumset_inner*/
|
||||
cast_not_expected,/*otimestamp*/
|
||||
cast_not_expected,/*raw*/
|
||||
cast_not_expected,/*interval*/
|
||||
cast_not_expected,/*rowid*/
|
||||
cast_not_expected,/*lob*/
|
||||
cast_not_expected,/*json*/
|
||||
cast_not_expected,/*geometry*/
|
||||
cast_not_expected, /*udt*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_not_expected,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*mysql datetime*/
|
||||
cast_not_expected,/*null*/
|
||||
cast_not_expected,/*int*/
|
||||
cast_not_expected,/*uint*/
|
||||
cast_not_expected,/*float*/
|
||||
cast_not_expected,/*double*/
|
||||
cast_not_expected,/*number*/
|
||||
cast_not_expected,/*datetime*/
|
||||
cast_not_expected,/*date*/
|
||||
cast_not_expected,/*time*/
|
||||
cast_not_expected,/*year*/
|
||||
cast_not_expected,/*string*/
|
||||
cast_not_expected,/*extend*/
|
||||
cast_not_expected,/*unknown*/
|
||||
cast_not_expected,/*text*/
|
||||
cast_not_expected,/*bit*/
|
||||
cast_not_expected,/*enumset*/
|
||||
cast_not_expected,/*enumset_inner*/
|
||||
cast_not_expected,/*otimestamp*/
|
||||
cast_not_expected,/*raw*/
|
||||
cast_not_expected,/*interval*/
|
||||
cast_not_expected,/*rowid*/
|
||||
cast_not_expected,/*lob*/
|
||||
cast_not_expected,/*json*/
|
||||
cast_not_expected,/*geometry*/
|
||||
cast_not_expected, /*udt*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_not_expected,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -11781,6 +11781,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_eval_arg,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*int -> XXX*/
|
||||
@ -11811,6 +11813,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
int_decimalint,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*uint -> XXX*/
|
||||
@ -11841,6 +11845,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
uint_decimalint,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*float -> XXX*/
|
||||
@ -11871,6 +11877,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
float_decimalint,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*double -> XXX*/
|
||||
@ -11901,6 +11909,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
double_decimalint,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*number -> XXX*/
|
||||
@ -11931,6 +11941,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
number_decimalint,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*datetime -> XXX*/
|
||||
@ -11961,6 +11973,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_inconsistent_types,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*date -> XXX*/
|
||||
@ -11991,6 +12005,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*time -> XXX*/
|
||||
@ -12021,6 +12037,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*year -> XXX*/
|
||||
@ -12051,6 +12069,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*string -> XXX*/
|
||||
@ -12081,6 +12101,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
string_udt,/*udt*/
|
||||
string_decimalint,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*extend -> XXX*/
|
||||
@ -12111,6 +12133,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
pl_extend_sql_udt,/*udt*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
pl_extend_sql_udt,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*unknown -> XXX*/
|
||||
@ -12141,6 +12165,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*text -> XXX*/
|
||||
@ -12170,6 +12196,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_inconsistent_types,/*geometry*/
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*bit -> XXX*/
|
||||
@ -12200,6 +12228,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*enum -> XXX*/
|
||||
@ -12230,6 +12260,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_not_expected, /*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*enumset_inner -> XXX*/
|
||||
@ -12260,6 +12292,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*otimestamp -> XXX*/
|
||||
@ -12290,6 +12324,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_inconsistent_types,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*raw -> XXX*/
|
||||
@ -12320,6 +12356,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_inconsistent_types,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*interval -> XXX*/
|
||||
@ -12350,6 +12388,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_inconsistent_types,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/* rowid -> XXX */
|
||||
@ -12380,6 +12420,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_inconsistent_types,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*lob -> XXX*/
|
||||
@ -12410,6 +12452,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
lob_decimalint,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*json -> XXX*/
|
||||
@ -12440,6 +12484,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_not_support,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*geometry -> XXX*/
|
||||
@ -12470,6 +12516,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_not_support,/*udt*/
|
||||
cast_not_support,/*decimalint*/
|
||||
cast_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*udt -> XXX*/
|
||||
@ -12500,6 +12548,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
udt_udt,/*udt*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_udt_to_other_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*decimalint -> XXX*/
|
||||
@ -12529,7 +12579,9 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_inconsistent_types,/*decimalint*/
|
||||
cast_to_udt_not_support, /*udt*/
|
||||
decimalint_decimalint,/*decimalint*/
|
||||
cast_not_expected, /*udt*/
|
||||
cast_not_expected, /*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*collection -> XXX*/
|
||||
@ -12560,7 +12612,73 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_udt_to_other_not_support,/*udt*/
|
||||
cast_udt_to_other_not_support,/*decimal int*/
|
||||
cast_udt_to_other_not_support,/*collection*/
|
||||
}
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*mysql date*/
|
||||
cast_not_expected,/*null*/
|
||||
cast_not_expected,/*int*/
|
||||
cast_not_expected,/*uint*/
|
||||
cast_not_expected,/*float*/
|
||||
cast_not_expected,/*double*/
|
||||
cast_not_expected,/*number*/
|
||||
cast_not_expected,/*datetime*/
|
||||
cast_not_expected,/*date*/
|
||||
cast_not_expected,/*time*/
|
||||
cast_not_expected,/*year*/
|
||||
cast_not_expected,/*string*/
|
||||
cast_not_expected,/*extend*/
|
||||
cast_not_expected,/*unknown*/
|
||||
cast_not_expected,/*text*/
|
||||
cast_not_expected,/*bit*/
|
||||
cast_not_expected,/*enumset*/
|
||||
cast_not_expected,/*enumset_inner*/
|
||||
cast_not_expected,/*otimestamp*/
|
||||
cast_not_expected,/*raw*/
|
||||
cast_not_expected,/*interval*/
|
||||
cast_not_expected,/*rowid*/
|
||||
cast_not_expected,/*lob*/
|
||||
cast_not_expected,/*json*/
|
||||
cast_not_expected,/*geometry*/
|
||||
cast_not_expected, /*udt*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_not_expected,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*mysql datetime*/
|
||||
cast_not_expected,/*null*/
|
||||
cast_not_expected,/*int*/
|
||||
cast_not_expected,/*uint*/
|
||||
cast_not_expected,/*float*/
|
||||
cast_not_expected,/*double*/
|
||||
cast_not_expected,/*number*/
|
||||
cast_not_expected,/*datetime*/
|
||||
cast_not_expected,/*date*/
|
||||
cast_not_expected,/*time*/
|
||||
cast_not_expected,/*year*/
|
||||
cast_not_expected,/*string*/
|
||||
cast_not_expected,/*extend*/
|
||||
cast_not_expected,/*unknown*/
|
||||
cast_not_expected,/*text*/
|
||||
cast_not_expected,/*bit*/
|
||||
cast_not_expected,/*enumset*/
|
||||
cast_not_expected,/*enumset_inner*/
|
||||
cast_not_expected,/*otimestamp*/
|
||||
cast_not_expected,/*raw*/
|
||||
cast_not_expected,/*interval*/
|
||||
cast_not_expected,/*rowid*/
|
||||
cast_not_expected,/*lob*/
|
||||
cast_not_expected,/*json*/
|
||||
cast_not_expected,/*geometry*/
|
||||
cast_not_expected, /*udt*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_not_expected,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
};
|
||||
|
||||
// 目前代码里面没有使用该矩阵,Oracle模式都是使用impilicit矩阵
|
||||
@ -12596,6 +12714,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_eval_arg,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*int -> XXX*/
|
||||
@ -12626,6 +12746,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
int_decimalint,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*uint -> XXX*/
|
||||
@ -12656,6 +12778,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
uint_decimalint,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*float -> XXX*/
|
||||
@ -12686,6 +12810,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
float_decimalint,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*double -> XXX*/
|
||||
@ -12716,6 +12842,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
double_decimalint,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*number -> XXX*/
|
||||
@ -12746,6 +12874,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
number_decimalint,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*datetime -> XXX*/
|
||||
@ -12776,6 +12906,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_not_support,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*date -> XXX*/
|
||||
@ -12806,6 +12938,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*time -> XXX*/
|
||||
@ -12836,6 +12970,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*year -> XXX*/
|
||||
@ -12866,6 +13002,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*string -> XXX*/
|
||||
@ -12896,6 +13034,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
string_udt,/*udt*/
|
||||
string_decimalint,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*extend -> XXX*/
|
||||
@ -12926,6 +13066,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
pl_extend_sql_udt,/*udt*/
|
||||
cast_not_support,/*decimalint*/
|
||||
pl_extend_sql_udt,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*unknown -> XXX*/
|
||||
@ -12956,6 +13098,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
unknown_other,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*text -> XXX*/
|
||||
@ -12986,6 +13130,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
text_decimalint,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*bit -> XXX*/
|
||||
@ -13016,6 +13162,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*enum -> XXX*/
|
||||
@ -13046,6 +13194,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*enumset_inner -> XXX*/
|
||||
@ -13076,6 +13226,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*otimestamp -> XXX*/
|
||||
@ -13106,6 +13258,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_not_support,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*raw -> XXX*/
|
||||
@ -13136,6 +13290,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_not_support,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*interval -> XXX*/
|
||||
@ -13166,6 +13322,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*rowid -> XXX*/
|
||||
@ -13196,6 +13354,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_not_support,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*lob -> XXX*/
|
||||
@ -13226,6 +13386,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
lob_decimalint,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*json -> XXX*/
|
||||
@ -13256,6 +13418,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support,/*udt*/
|
||||
cast_not_support,/*decimalint*/
|
||||
cast_to_udt_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*geometry -> XXX*/
|
||||
@ -13286,6 +13450,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_not_support,/*udt*/
|
||||
cast_not_support,/*decimalint*/
|
||||
cast_not_support,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*udt -> XXX*/
|
||||
@ -13316,6 +13482,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_udt_to_other_not_support,/*udt*/
|
||||
cast_udt_to_other_not_support,/*decimal int*/
|
||||
cast_not_expected,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*decimalint -> XXX*/
|
||||
@ -13346,6 +13514,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_to_udt_not_support, /*udt*/
|
||||
decimalint_decimalint,/*decimalint*/
|
||||
cast_to_udt_not_support, /*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*collection -> XXX*/
|
||||
@ -13376,7 +13546,73 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_EXPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_udt_to_other_not_support,/*udt*/
|
||||
cast_udt_to_other_not_support,/*decimalint*/
|
||||
cast_udt_to_other_not_support,/*collection*/
|
||||
}
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*mysql date*/
|
||||
cast_not_expected,/*null*/
|
||||
cast_not_expected,/*int*/
|
||||
cast_not_expected,/*uint*/
|
||||
cast_not_expected,/*float*/
|
||||
cast_not_expected,/*double*/
|
||||
cast_not_expected,/*number*/
|
||||
cast_not_expected,/*datetime*/
|
||||
cast_not_expected,/*date*/
|
||||
cast_not_expected,/*time*/
|
||||
cast_not_expected,/*year*/
|
||||
cast_not_expected,/*string*/
|
||||
cast_not_expected,/*extend*/
|
||||
cast_not_expected,/*unknown*/
|
||||
cast_not_expected,/*text*/
|
||||
cast_not_expected,/*bit*/
|
||||
cast_not_expected,/*enumset*/
|
||||
cast_not_expected,/*enumset_inner*/
|
||||
cast_not_expected,/*otimestamp*/
|
||||
cast_not_expected,/*raw*/
|
||||
cast_not_expected,/*interval*/
|
||||
cast_not_expected,/*rowid*/
|
||||
cast_not_expected,/*lob*/
|
||||
cast_not_expected,/*json*/
|
||||
cast_not_expected,/*geometry*/
|
||||
cast_not_expected, /*udt*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_not_expected,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*mysql datetime*/
|
||||
cast_not_expected,/*null*/
|
||||
cast_not_expected,/*int*/
|
||||
cast_not_expected,/*uint*/
|
||||
cast_not_expected,/*float*/
|
||||
cast_not_expected,/*double*/
|
||||
cast_not_expected,/*number*/
|
||||
cast_not_expected,/*datetime*/
|
||||
cast_not_expected,/*date*/
|
||||
cast_not_expected,/*time*/
|
||||
cast_not_expected,/*year*/
|
||||
cast_not_expected,/*string*/
|
||||
cast_not_expected,/*extend*/
|
||||
cast_not_expected,/*unknown*/
|
||||
cast_not_expected,/*text*/
|
||||
cast_not_expected,/*bit*/
|
||||
cast_not_expected,/*enumset*/
|
||||
cast_not_expected,/*enumset_inner*/
|
||||
cast_not_expected,/*otimestamp*/
|
||||
cast_not_expected,/*raw*/
|
||||
cast_not_expected,/*interval*/
|
||||
cast_not_expected,/*rowid*/
|
||||
cast_not_expected,/*lob*/
|
||||
cast_not_expected,/*json*/
|
||||
cast_not_expected,/*geometry*/
|
||||
cast_not_expected, /*udt*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_not_expected,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
};
|
||||
|
||||
ObExpr::EvalFunc OB_DATUM_CAST_MYSQL_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
@ -13410,6 +13646,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_MYSQL_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt, not implemented in mysql mode*/
|
||||
cast_eval_arg,/*decimalint*/
|
||||
cast_not_expected,/*collection, not implemented in mysql mode*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*int -> XXX*/
|
||||
@ -13440,6 +13678,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_MYSQL_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt, not implemented in mysql mode*/
|
||||
int_decimalint,/*decimalint*/
|
||||
cast_not_expected,/*collection, not implemented in mysql mode*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*uint -> XXX*/
|
||||
@ -13470,6 +13710,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_MYSQL_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt, not implemented in mysql mode*/
|
||||
uint_decimalint,/*decimalint*/
|
||||
cast_not_expected,/*collection, not implemented in mysql mode*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*float -> XXX*/
|
||||
@ -13500,6 +13742,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_MYSQL_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt, not implemented in mysql mode*/
|
||||
float_decimalint,/*decimalint*/
|
||||
cast_not_expected,/*collection, not implemented in mysql mode*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*double -> XXX*/
|
||||
@ -13530,6 +13774,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_MYSQL_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt, not implemented in mysql mode*/
|
||||
double_decimalint,/*decimalint*/
|
||||
cast_not_expected,/*collection, not implemented in mysql mode*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*number -> XXX*/
|
||||
@ -13560,6 +13806,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_MYSQL_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt, not implemented in mysql mode*/
|
||||
number_decimalint,/*decimalint*/
|
||||
cast_not_expected,/*collection, not implemented in mysql mode*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*datetime -> XXX*/
|
||||
@ -13590,6 +13838,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_MYSQL_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt, not implemented in mysql mode*/
|
||||
datetime_decimalint,/*decimalint*/
|
||||
cast_not_expected,/*collection, not implemented in mysql mode*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*date -> XXX*/
|
||||
@ -13620,6 +13870,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_MYSQL_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt, not implemented in mysql mode*/
|
||||
date_decimalint,/*decimalint*/
|
||||
cast_not_expected,/*collection, not implemented in mysql mode*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*time -> XXX*/
|
||||
@ -13650,6 +13902,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_MYSQL_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt, not implemented in mysql mode*/
|
||||
time_decimalint,/*decimalint*/
|
||||
cast_not_expected,/*collection, not implemented in mysql mode*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*year -> XXX*/
|
||||
@ -13680,6 +13934,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_MYSQL_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt, not implemented in mysql mode*/
|
||||
year_decimalint,/*decimalint*/
|
||||
cast_not_expected,/*collection, not implemented in mysql mode*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*string -> XXX*/
|
||||
@ -13710,6 +13966,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_MYSQL_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt, not implemented in mysql mode*/
|
||||
string_decimalint,/*decimalint*/
|
||||
cast_not_expected,/*collection, not implemented in mysql mode*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*extend -> XXX*/
|
||||
@ -13740,6 +13998,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_MYSQL_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt, not implemented in mysql mode*/
|
||||
cast_not_support,/*decimalint*/
|
||||
cast_not_expected,/*collection, not implemented in mysql mode*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*unknown -> XXX*/
|
||||
@ -13770,6 +14030,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_MYSQL_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt, not implemented in mysql mode*/
|
||||
unknown_other,/*decimalint*/
|
||||
cast_not_expected,/*collection, not implemented in mysql mode*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*text -> XXX*/
|
||||
@ -13800,6 +14062,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_MYSQL_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt, not implemented in mysql mode*/
|
||||
text_decimalint,/*decimalint*/
|
||||
cast_not_expected,/*collection, not implemented in mysql mode*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*bit -> XXX*/
|
||||
@ -13830,6 +14094,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_MYSQL_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt, not implemented in mysql mode*/
|
||||
bit_decimalint,/*decimalint*/
|
||||
cast_not_expected,/*collection, not implemented in mysql mode*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*enumset -> XXX*/
|
||||
@ -13860,6 +14126,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_MYSQL_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt, not implemented in mysql mode*/
|
||||
enumset_decimalint,/*decimalint*/
|
||||
cast_not_expected,/*collection, not implemented in mysql mode*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*enumset_inner -> XXX*/
|
||||
@ -13890,6 +14158,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_MYSQL_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt, not implemented in mysql mode*/
|
||||
enumset_inner_decimalint,/*decimalint*/
|
||||
cast_not_expected,/*collection, not implemented in mysql mode*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*otimestamp -> XXX*/
|
||||
@ -13920,6 +14190,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_MYSQL_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt, not implemented in mysql mode*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_not_expected,/*collection, not implemented in mysql mode*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*raw -> XXX*/
|
||||
@ -13950,6 +14222,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_MYSQL_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt, not implemented in mysql mode*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_not_expected,/*collection, not implemented in mysql mode*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*interval -> XXX*/
|
||||
@ -13980,6 +14254,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_MYSQL_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt, not implemented in mysql mode*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_not_expected,/*collection, not implemented in mysql mode*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*rowid -> XXX*/
|
||||
@ -14010,6 +14286,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_MYSQL_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt, not implemented in mysql mode*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_not_expected,/*collection, not implemented in mysql mode*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*lob -> XXX*/
|
||||
@ -14040,6 +14318,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_MYSQL_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt, not implemented in mysql mode*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_not_expected,/*collection, not implemented in mysql mode*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*json -> XXX*/
|
||||
@ -14070,6 +14350,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_MYSQL_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt, not implemented in mysql mode*/
|
||||
json_decimalint,/*decimalint*/
|
||||
cast_not_expected,/*collection, not implemented in mysql mode*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*geometry -> XXX*/
|
||||
@ -14100,6 +14382,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_MYSQL_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected, /*udt*/
|
||||
geometry_decimalint,/*decimalint*/
|
||||
cast_not_expected,/*collection, not implemented in mysql mode*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*udt -> XXX*/
|
||||
@ -14130,6 +14414,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_MYSQL_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt, not implemented in mysql mode*/
|
||||
cast_not_expected, /*decimal int*/
|
||||
cast_not_expected,/*collection*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*decimalint -> XXX*/
|
||||
@ -14160,6 +14446,8 @@ ObExpr::EvalFunc OB_DATUM_CAST_MYSQL_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt, not implemented in mysql mode*/
|
||||
decimalint_decimalint, /*decimal int*/
|
||||
cast_not_expected,/*collection, not implemented in mysql mode*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*collection -> XXX*/
|
||||
@ -14190,6 +14478,72 @@ ObExpr::EvalFunc OB_DATUM_CAST_MYSQL_IMPLICIT[ObMaxTC][ObMaxTC] =
|
||||
cast_not_expected,/*udt, not implemented in mysql mode*/
|
||||
cast_not_expected,/*decimalint*/
|
||||
cast_not_expected,/*collection, not implemented in mysql mode*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*mysql date -> XXX*/
|
||||
cast_not_expected,/*null*/
|
||||
cast_not_expected,/*int*/
|
||||
cast_not_expected,/*uint*/
|
||||
cast_not_expected,/*float*/
|
||||
cast_not_expected,/*double*/
|
||||
cast_not_expected,/*number*/
|
||||
cast_not_expected,/*datetime*/
|
||||
cast_not_expected,/*date*/
|
||||
cast_not_expected,/*time*/
|
||||
cast_not_expected,/*year*/
|
||||
cast_not_expected,/*string*/
|
||||
cast_not_expected,/*extend*/
|
||||
cast_not_expected,/*unknown*/
|
||||
cast_not_expected,/*text*/
|
||||
cast_not_expected,/*bit*/
|
||||
cast_not_expected,/*enumset*/
|
||||
cast_not_expected,/*enumset_inner*/
|
||||
cast_not_expected,/*otimestamp*/
|
||||
cast_not_expected,/*raw*/
|
||||
cast_not_expected,/*interval*/
|
||||
cast_not_expected,/*rowid*/
|
||||
cast_not_expected,/*lob*/
|
||||
cast_not_expected,/*json*/
|
||||
cast_not_expected,/*geometry*/
|
||||
cast_not_expected,/*udt, not implemented in mysql mode*/
|
||||
cast_not_expected,/*decimalint, place_holder*/
|
||||
cast_not_expected,/*collection, not implemented in mysql mode*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*mysql datetime -> XXX*/
|
||||
cast_not_expected,/*null*/
|
||||
cast_not_expected,/*int*/
|
||||
cast_not_expected,/*uint*/
|
||||
cast_not_expected,/*float*/
|
||||
cast_not_expected,/*double*/
|
||||
cast_not_expected,/*number*/
|
||||
cast_not_expected,/*datetime*/
|
||||
cast_not_expected,/*date*/
|
||||
cast_not_expected,/*time*/
|
||||
cast_not_expected,/*year*/
|
||||
cast_not_expected,/*string*/
|
||||
cast_not_expected,/*extend*/
|
||||
cast_not_expected,/*unknown*/
|
||||
cast_not_expected,/*text*/
|
||||
cast_not_expected,/*bit*/
|
||||
cast_not_expected,/*enumset*/
|
||||
cast_not_expected,/*enumset_inner*/
|
||||
cast_not_expected,/*otimestamp*/
|
||||
cast_not_expected,/*raw*/
|
||||
cast_not_expected,/*interval*/
|
||||
cast_not_expected,/*rowid*/
|
||||
cast_not_expected,/*lob*/
|
||||
cast_not_expected,/*json*/
|
||||
cast_not_expected,/*geometry*/
|
||||
cast_not_expected,/*udt, not implemented in mysql mode*/
|
||||
cast_not_expected,/*decimalint, place_holder*/
|
||||
cast_not_expected,/*collection, not implemented in mysql mode*/
|
||||
cast_not_expected,/*mysql date*/
|
||||
cast_not_expected,/*mysql datetime*/
|
||||
},
|
||||
};
|
||||
|
||||
@ -14330,6 +14684,16 @@ ObExpr::EvalEnumSetFunc OB_DATUM_CAST_MYSQL_ENUMSET_IMPLICIT[ObMaxTC][2] =
|
||||
cast_not_support_enum_set,/*enum*/
|
||||
cast_not_support_enum_set,/*set*/
|
||||
},
|
||||
{
|
||||
/*ObMySQLDate -> enum_or_set*/
|
||||
cast_not_support_enum_set,/*enum*/
|
||||
cast_not_support_enum_set,/*set*/
|
||||
},
|
||||
{
|
||||
/*ObMySQLDateTime -> enum_or_set*/
|
||||
cast_not_support_enum_set,/*enum*/
|
||||
cast_not_support_enum_set,/*set*/
|
||||
},
|
||||
};
|
||||
|
||||
int string_collation_check(const bool is_strict_mode,
|
||||
|
@ -52,6 +52,8 @@ static constexpr ObObjType ABS_RESULT_TYPE[ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
};
|
||||
|
||||
|
||||
@ -109,6 +111,8 @@ static constexpr ObObjType ABS_RESULT_TYPE_ORACLE[ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObNumberType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
};
|
||||
|
||||
static_assert(is_array_fully_initialized(ABS_RESULT_TYPE_ORACLE), "ABS_RESULT_TYPE_ORACLE is partially initlized");
|
||||
|
@ -54,6 +54,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*TinyIntType*/
|
||||
@ -110,6 +112,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObIntType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*SmallIntType*/
|
||||
@ -166,6 +170,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObIntType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*MediumIntType*/
|
||||
@ -222,6 +228,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObIntType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*Int32Type*/
|
||||
@ -278,6 +286,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObIntType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*IntType*/
|
||||
@ -334,6 +344,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObIntType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*UTinyIntType*/
|
||||
@ -390,6 +402,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObUInt64Type, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*USmallIntType*/
|
||||
@ -446,6 +460,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObUInt64Type, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*UMediumIntType*/
|
||||
@ -502,6 +518,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObUInt64Type, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*UInt32Type*/
|
||||
@ -558,6 +576,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObUInt64Type, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*UInt64Type*/
|
||||
@ -614,6 +634,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObUInt64Type, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*FloatType*/
|
||||
@ -670,6 +692,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*DoubleType*/
|
||||
@ -726,6 +750,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*UFloatType*/
|
||||
@ -782,6 +808,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*UDoubleType*/
|
||||
@ -838,6 +866,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*NumberType*/
|
||||
@ -894,6 +924,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObNumberType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*UNumberType*/
|
||||
@ -950,6 +982,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObNumberType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*DateTimeType*/
|
||||
@ -1006,6 +1040,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObNumberType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*TimestampType*/
|
||||
@ -1062,6 +1098,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObNumberType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*DateType*/
|
||||
@ -1118,6 +1156,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObNumberType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObIntType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*TimeType*/
|
||||
@ -1174,6 +1214,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObNumberType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*YearType*/
|
||||
@ -1230,6 +1272,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObNumberType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObUInt64Type, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*VarcharType*/
|
||||
@ -1286,6 +1330,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*CharType*/
|
||||
@ -1342,6 +1388,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*HexStringType*/
|
||||
@ -1398,6 +1446,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*ExtendType*/
|
||||
@ -1454,6 +1504,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*UnknownType*/
|
||||
@ -1510,6 +1562,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObTinyTextType*/
|
||||
{
|
||||
@ -1565,6 +1619,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObTextType*/
|
||||
{
|
||||
@ -1620,6 +1676,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObMediumTextType*/
|
||||
{
|
||||
@ -1675,6 +1733,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObLongTextType*/
|
||||
{
|
||||
@ -1730,6 +1790,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*BitType*/
|
||||
{
|
||||
@ -1785,6 +1847,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObNumberType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObUInt64Type, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObEnumType*/
|
||||
{
|
||||
@ -1840,6 +1904,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObSetType*/
|
||||
{
|
||||
@ -1895,6 +1961,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObEnumInnerType*/
|
||||
{
|
||||
@ -1950,6 +2018,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObSetInnerType*/
|
||||
{
|
||||
@ -2005,6 +2075,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObTimestampTZType*/
|
||||
{
|
||||
@ -2060,6 +2132,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObNumberType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObTimestampLTZType*/
|
||||
{
|
||||
@ -2115,6 +2189,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObNumberType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/* ObTimestampNanoType*/
|
||||
{
|
||||
@ -2170,6 +2246,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObNumberType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObRawType*/
|
||||
{
|
||||
@ -2225,6 +2303,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObNumberType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObIntervalYMType*/
|
||||
{
|
||||
@ -2280,6 +2360,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObIntervalDSType*/
|
||||
{
|
||||
@ -2335,6 +2417,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObNumberFloatType*/
|
||||
{
|
||||
@ -2390,6 +2474,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObNVarchar2Type*/
|
||||
{
|
||||
@ -2445,6 +2531,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObNCharType*/
|
||||
{
|
||||
@ -2500,6 +2588,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObURowIDType*/
|
||||
{
|
||||
@ -2555,6 +2645,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObLobType*/
|
||||
{
|
||||
@ -2610,6 +2702,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObJsonType*/
|
||||
{
|
||||
@ -2665,6 +2759,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObGeometryType*/
|
||||
{
|
||||
@ -2720,6 +2816,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* UDT */
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObUserDefinedSqlType*/
|
||||
{
|
||||
@ -2775,6 +2873,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObDecimalIntType*/
|
||||
{
|
||||
@ -2830,6 +2930,8 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* UDT */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObCollectionSqlType*/
|
||||
{
|
||||
@ -2885,6 +2987,122 @@ static constexpr ObObjType ARITH_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*MySQLDateType*/
|
||||
{
|
||||
ObDoubleType, /* NullType */
|
||||
ObIntType, /* TinyIntType */
|
||||
ObIntType, /* SmallIntType */
|
||||
ObIntType, /* MediumIntType */
|
||||
ObIntType, /* Int32Type */
|
||||
ObIntType, /* IntType */
|
||||
ObUInt64Type, /* UTinyIntType */
|
||||
ObUInt64Type, /* USmallIntType */
|
||||
ObUInt64Type, /* UMediumIntType */
|
||||
ObUInt64Type, /* UInt32Type */
|
||||
ObUInt64Type, /* UInt64Type */
|
||||
ObDoubleType, /* FloatType */
|
||||
ObDoubleType, /* DoubleType */
|
||||
ObDoubleType, /* UFloatType */
|
||||
ObDoubleType, /* UDoubleType */
|
||||
ObNumberType, /* NumberType */
|
||||
ObNumberType, /* UNumberType */
|
||||
ObNumberType, /* DateTimeType */
|
||||
ObNumberType, /* TimestampType */
|
||||
ObIntType, /* DateType */
|
||||
ObNumberType, /* TimeType */
|
||||
ObUInt64Type, /* YearType */
|
||||
ObDoubleType, /* VarcharType */
|
||||
ObDoubleType, /* CharType */
|
||||
ObDoubleType, /* HexStringType */
|
||||
ObMaxType, /* ExtendType */
|
||||
ObDoubleType, /* UnknownType */
|
||||
ObDoubleType, /* ObTinyTextType */
|
||||
ObDoubleType, /* ObTextType */
|
||||
ObDoubleType, /* ObMediumTextType */
|
||||
ObDoubleType, /* ObLongTextType */
|
||||
ObUInt64Type, /* ObBitType */
|
||||
ObDoubleType, /* ObEnumType */
|
||||
ObDoubleType, /* ObSetType */
|
||||
ObMaxType, /* ObEnumInnerType */
|
||||
ObMaxType, /* ObSetInnerType */
|
||||
ObNumberType, /* ObTimestampTZType */
|
||||
ObNumberType, /* ObTimestampLTZType */
|
||||
ObNumberType, /* ObTimestampNanoType */
|
||||
ObNumberType, /* ObRawType */
|
||||
ObMaxType, /* ObIntervalYMType */
|
||||
ObMaxType, /* ObIntervalDSType */
|
||||
ObMaxType, /* ObNumberFloatType */
|
||||
ObMaxType, /* ObNVarchar2Type */
|
||||
ObMaxType, /* ObNCharType */
|
||||
ObMaxType, /* ObURowIDType */
|
||||
ObMaxType, /* ObLobType */
|
||||
ObDoubleType, /* ObJsonType */
|
||||
ObMaxType, /* ObGeometryType */
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObNumberType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObIntType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*MySQLDateTimeType*/
|
||||
{
|
||||
ObDoubleType, /* NullType */
|
||||
ObNumberType, /* TinyIntType */
|
||||
ObNumberType, /* SmallIntType */
|
||||
ObNumberType, /* MediumIntType */
|
||||
ObNumberType, /* Int32Type */
|
||||
ObNumberType, /* IntType */
|
||||
ObNumberType, /* UTinyIntType */
|
||||
ObNumberType, /* USmallIntType */
|
||||
ObNumberType, /* UMediumIntType */
|
||||
ObNumberType, /* UInt32Type */
|
||||
ObNumberType, /* UInt64Type */
|
||||
ObDoubleType, /* FloatType */
|
||||
ObDoubleType, /* DoubleType */
|
||||
ObDoubleType, /* UFloatType */
|
||||
ObDoubleType, /* UDoubleType */
|
||||
ObNumberType, /* NumberType */
|
||||
ObNumberType, /* UNumberType */
|
||||
ObNumberType, /* DateTimeType */
|
||||
ObNumberType, /* TimestampType */
|
||||
ObNumberType, /* DateType */
|
||||
ObNumberType, /* TimeType */
|
||||
ObNumberType, /* YearType */
|
||||
ObDoubleType, /* VarcharType */
|
||||
ObDoubleType, /* CharType */
|
||||
ObDoubleType, /* HexStringType */
|
||||
ObMaxType, /* ExtendType */
|
||||
ObDoubleType, /* UnknownType */
|
||||
ObDoubleType, /* ObTinyTextType */
|
||||
ObDoubleType, /* ObTextType */
|
||||
ObDoubleType, /* ObMediumTextType */
|
||||
ObDoubleType, /* ObLongTextType */
|
||||
ObNumberType, /* ObBitType*/
|
||||
ObDoubleType, /* ObEnumType */
|
||||
ObDoubleType, /* ObSetType */
|
||||
ObMaxType, /* ObEnumInnerType */
|
||||
ObMaxType, /* ObSetInnerType */
|
||||
ObNumberType, /* ObTimestampTZType */
|
||||
ObNumberType, /* ObTimestampLTZType */
|
||||
ObNumberType, /* ObTimestampNanoType */
|
||||
ObNumberType, /* ObRawType */
|
||||
ObMaxType, /* ObIntervalYMType */
|
||||
ObMaxType, /* ObIntervalDSType */
|
||||
ObMaxType, /* ObNumberFloatType */
|
||||
ObMaxType, /* ObNVarchar2Type */
|
||||
ObMaxType, /* ObNCharType */
|
||||
ObMaxType, /* ObURowIDType */
|
||||
ObMaxType, /* ObLobType */
|
||||
ObDoubleType, /* ObJsonType */
|
||||
ObMaxType, /* ObGeometryType */
|
||||
ObMaxType, /* ObUserDefinedSqlType */
|
||||
ObNumberType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -28,7 +28,7 @@ namespace sql
|
||||
{
|
||||
|
||||
// The length of array need to be equal to the number of types defined at ObObjType
|
||||
static const int32_t CAST_STRING_DEFUALT_LENGTH[53] = {
|
||||
static const int32_t CAST_STRING_DEFUALT_LENGTH[ObMaxType + 1] = {
|
||||
0, //null
|
||||
4, //tinyint
|
||||
6, //smallint
|
||||
@ -81,6 +81,8 @@ static const int32_t CAST_STRING_DEFUALT_LENGTH[53] = {
|
||||
1,//udt
|
||||
11, // decimal int
|
||||
1,//collection
|
||||
10,//mysql date
|
||||
19,//mysql datetime
|
||||
0//max, invalid type, or count of obj type
|
||||
};
|
||||
|
||||
|
@ -54,6 +54,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*TinyIntType*/
|
||||
@ -110,6 +112,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*SmallIntType*/
|
||||
@ -166,6 +170,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*MediumIntType*/
|
||||
@ -222,6 +228,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*Int32Type*/
|
||||
@ -278,6 +286,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*IntType*/
|
||||
@ -334,6 +344,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*UTinyIntType*/
|
||||
@ -390,6 +402,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*USmallIntType*/
|
||||
@ -446,6 +460,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*UMediumIntType*/
|
||||
@ -502,6 +518,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*UInt32Type*/
|
||||
@ -558,6 +576,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*UIntType*/
|
||||
@ -614,6 +634,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*FloatType*/
|
||||
@ -670,6 +692,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*DoubleType*/
|
||||
@ -726,6 +750,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*UFloatType*/
|
||||
@ -782,6 +808,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*UDoubleType*/
|
||||
@ -838,6 +866,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*NumberType*/
|
||||
@ -894,6 +924,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObNumberType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*UNumberType*/
|
||||
@ -950,6 +982,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObNumberType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*DateTimeType*/
|
||||
@ -1006,6 +1040,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObNumberType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*TimestampType*/
|
||||
@ -1062,6 +1098,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObNumberType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*DateType*/
|
||||
@ -1118,6 +1156,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObNumberType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*TimeType*/
|
||||
@ -1174,6 +1214,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObNumberType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*YearType*/
|
||||
@ -1230,6 +1272,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObNumberType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*VarcharType*/
|
||||
@ -1286,6 +1330,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*CharType*/
|
||||
@ -1342,6 +1388,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*HexStringType*/
|
||||
@ -1398,6 +1446,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObNumberType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*ExtendType*/
|
||||
@ -1454,6 +1504,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*UnknownType*/
|
||||
@ -1510,6 +1562,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObTinyTextType*/
|
||||
{
|
||||
@ -1565,6 +1619,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObTextType*/
|
||||
{
|
||||
@ -1620,6 +1676,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObMediumTextType*/
|
||||
{
|
||||
@ -1675,6 +1733,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObLongTextType*/
|
||||
{
|
||||
@ -1730,6 +1790,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*BitType*/
|
||||
{
|
||||
@ -1785,6 +1847,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObNumberType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObEnumType*/
|
||||
{
|
||||
@ -1840,6 +1904,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObSetType*/
|
||||
{
|
||||
@ -1895,6 +1961,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObEnumInnerType*/
|
||||
{
|
||||
@ -1950,6 +2018,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObSetInnerType*/
|
||||
{
|
||||
@ -2005,6 +2075,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObTimestampTZType*/
|
||||
{
|
||||
@ -2060,6 +2132,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObNumberType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObTimestampLTZType*/
|
||||
{
|
||||
@ -2115,6 +2189,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObNumberType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObTimestampNanoType*/
|
||||
{
|
||||
@ -2170,6 +2246,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObNumberType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObRawType*/
|
||||
{
|
||||
@ -2225,6 +2303,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObNumberType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObIntervalYMType*/
|
||||
{
|
||||
@ -2280,6 +2360,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObIntervalDSType*/
|
||||
{
|
||||
@ -2335,6 +2417,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObNumberFloatType*/
|
||||
{
|
||||
@ -2390,6 +2474,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObNVarchar2Type*/
|
||||
{
|
||||
@ -2445,6 +2531,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObNCharType*/
|
||||
{
|
||||
@ -2500,6 +2588,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObURowIDType*/
|
||||
{
|
||||
@ -2555,6 +2645,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObLobType*/
|
||||
{
|
||||
@ -2610,6 +2702,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObJsonType*/
|
||||
{
|
||||
@ -2665,6 +2759,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObGeometryType*/
|
||||
{
|
||||
@ -2720,6 +2816,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObUserDefinedSQLType*/
|
||||
{
|
||||
@ -2775,6 +2873,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObDecimalIntType*/
|
||||
{
|
||||
@ -2830,6 +2930,8 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObCollectionSQLType*/
|
||||
{
|
||||
@ -2885,6 +2987,122 @@ static constexpr ObObjType DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*MySQLDateType*/
|
||||
{
|
||||
ObDoubleType, /* NullType */
|
||||
ObNumberType, /* TinyIntType */
|
||||
ObNumberType, /* SmallIntType */
|
||||
ObNumberType, /* MediumIntType */
|
||||
ObNumberType, /* Int32Type */
|
||||
ObNumberType, /* IntType */
|
||||
ObNumberType, /* UTinyIntType */
|
||||
ObNumberType, /* USmallIntType */
|
||||
ObNumberType, /* UMediumIntType */
|
||||
ObNumberType, /* UInt32Type */
|
||||
ObNumberType, /* UIntType */
|
||||
ObDoubleType, /* FloatType */
|
||||
ObDoubleType, /* DoubleType */
|
||||
ObDoubleType, /* UFloatType */
|
||||
ObDoubleType, /* UDoubleType */
|
||||
ObNumberType, /* NumberType */
|
||||
ObNumberType, /* UNumberType */
|
||||
ObNumberType, /* DateTimeType */
|
||||
ObNumberType, /* TimestampType */
|
||||
ObNumberType, /* DateType */
|
||||
ObNumberType, /* TimeType */
|
||||
ObNumberType, /* YearType */
|
||||
ObDoubleType, /* VarcharType */
|
||||
ObDoubleType, /* CharType */
|
||||
ObNumberType, /* HexStringType */
|
||||
ObMaxType, /* ExtendType */
|
||||
ObDoubleType, /* UnknownType */
|
||||
ObDoubleType, /* ObTinyTextType */
|
||||
ObDoubleType, /* ObTextType */
|
||||
ObDoubleType, /* ObMediumTextType */
|
||||
ObDoubleType, /* ObLongTextType */
|
||||
ObNumberType, /* BitType */
|
||||
ObDoubleType, /* ObEnumType */
|
||||
ObDoubleType, /* ObSetType */
|
||||
ObMaxType, /* ObEnumInnerType */
|
||||
ObMaxType, /* ObSetInnerType */
|
||||
ObNumberType, /*ObTimestampTZType */
|
||||
ObNumberType, /*ObTimestampLTZType */
|
||||
ObNumberType, /*ObTimestampNanoType */
|
||||
ObNumberType, /*ObRawType */
|
||||
ObMaxType, /*ObIntervalYMType */
|
||||
ObMaxType, /*ObIntervalDSType */
|
||||
ObMaxType, /* ObNumberFloatType */
|
||||
ObMaxType, /* ObNVarchar2Type */
|
||||
ObMaxType, /* ObNCharType */
|
||||
ObMaxType, /* ObURowIDType */
|
||||
ObMaxType, /* ObLobType */
|
||||
ObDoubleType, /* ObJsonType */
|
||||
ObMaxType, /* ObGeometryType */
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*MySQLDateTimeType*/
|
||||
{
|
||||
ObDoubleType, /* NullType */
|
||||
ObNumberType, /* TinyIntType */
|
||||
ObNumberType, /* SmallIntType */
|
||||
ObNumberType, /* MediumIntType */
|
||||
ObNumberType, /* Int32Type */
|
||||
ObNumberType, /* IntType */
|
||||
ObNumberType, /* UTinyIntType */
|
||||
ObNumberType, /* USmallIntType */
|
||||
ObNumberType, /* UMediumIntType */
|
||||
ObNumberType, /* UInt32Type */
|
||||
ObNumberType, /* UIntType */
|
||||
ObDoubleType, /* FloatType */
|
||||
ObDoubleType, /* DoubleType */
|
||||
ObDoubleType, /* UFloatType */
|
||||
ObDoubleType, /* UDoubleType */
|
||||
ObNumberType, /* NumberType */
|
||||
ObNumberType, /* UNumberType */
|
||||
ObNumberType, /* DateTimeType */
|
||||
ObNumberType, /* TimestampType */
|
||||
ObNumberType, /* DateType */
|
||||
ObNumberType, /* TimeType */
|
||||
ObNumberType, /* YearType */
|
||||
ObDoubleType, /* VarcharType */
|
||||
ObDoubleType, /* CharType */
|
||||
ObNumberType, /* HexStringType */
|
||||
ObMaxType, /* ExtendType */
|
||||
ObDoubleType, /* UnknownType */
|
||||
ObDoubleType, /* ObTinyTextType */
|
||||
ObDoubleType, /* ObTextType */
|
||||
ObDoubleType, /* ObMediumTextType */
|
||||
ObDoubleType, /* ObLongTextType */
|
||||
ObNumberType, /* BitType */
|
||||
ObDoubleType, /* ObEnumType */
|
||||
ObDoubleType, /* ObSetType */
|
||||
ObMaxType, /* ObEnumInnerType */
|
||||
ObMaxType, /* ObSetInnerType */
|
||||
ObNumberType, /*ObTimestampTZType */
|
||||
ObNumberType, /*ObTimestampLTZType */
|
||||
ObNumberType, /*ObTimestampNanoType */
|
||||
ObNumberType, /*ObRawType */
|
||||
ObMaxType, /*ObIntervalYMType */
|
||||
ObMaxType, /*ObIntervalDSType */
|
||||
ObMaxType, /* ObNumberFloatType */
|
||||
ObMaxType, /* ObNVarchar2Type */
|
||||
ObMaxType, /* ObNCharType */
|
||||
ObMaxType, /* ObURowIDType */
|
||||
ObMaxType, /* ObLobType */
|
||||
ObDoubleType, /* ObJsonType */
|
||||
ObMaxType, /* ObGeometryType */
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -54,6 +54,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObIntType, /* ObMySQLDateType */
|
||||
ObIntType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*TinyIntType*/
|
||||
@ -110,6 +112,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObIntType, /* ObMySQLDateType */
|
||||
ObIntType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*SmallIntType*/
|
||||
@ -166,6 +170,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObIntType, /* ObMySQLDateType */
|
||||
ObIntType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*MediumIntType*/
|
||||
@ -222,6 +228,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObIntType, /* ObMySQLDateType */
|
||||
ObIntType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*Int32Type*/
|
||||
@ -278,6 +286,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObIntType, /* ObMySQLDateType */
|
||||
ObIntType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*IntType*/
|
||||
@ -334,6 +344,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObIntType, /* ObMySQLDateType */
|
||||
ObIntType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*UTinyIntType*/
|
||||
@ -390,6 +402,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObUInt64Type, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObUInt64Type, /* ObMySQLDateType */
|
||||
ObUInt64Type, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*USmallIntType*/
|
||||
@ -446,6 +460,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObUInt64Type, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObUInt64Type, /* ObMySQLDateType */
|
||||
ObUInt64Type, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*UMediumIntType*/
|
||||
@ -502,6 +518,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObUInt64Type, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObUInt64Type, /* ObMySQLDateType */
|
||||
ObUInt64Type, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*UInt32Type*/
|
||||
@ -558,6 +576,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObUInt64Type, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObUInt64Type, /* ObMySQLDateType */
|
||||
ObUInt64Type, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*UInt64Type*/
|
||||
@ -614,6 +634,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObUInt64Type, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObUInt64Type, /* ObMySQLDateType */
|
||||
ObUInt64Type, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*FloatType*/
|
||||
@ -670,6 +692,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObIntType, /* ObMySQLDateType */
|
||||
ObIntType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*DoubleType*/
|
||||
@ -726,6 +750,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObIntType, /* ObMySQLDateType */
|
||||
ObIntType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*UFloatType*/
|
||||
@ -782,6 +808,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObUInt64Type, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObUInt64Type, /* ObMySQLDateType */
|
||||
ObUInt64Type, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*UDoubleType*/
|
||||
@ -838,6 +866,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObUInt64Type, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObUInt64Type, /* ObMySQLDateType */
|
||||
ObUInt64Type, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*NumberType*/
|
||||
@ -894,6 +924,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObIntType, /* ObMySQLDateType */
|
||||
ObIntType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*UNumberType*/
|
||||
@ -950,6 +982,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObUInt64Type, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObUInt64Type, /* ObMySQLDateType */
|
||||
ObUInt64Type, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*DateTimeType*/
|
||||
@ -1006,6 +1040,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObIntType, /* ObMySQLDateType */
|
||||
ObIntType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*TimestampType*/
|
||||
@ -1062,6 +1098,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObIntType, /* ObMySQLDateType */
|
||||
ObIntType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*DateType*/
|
||||
@ -1118,6 +1156,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObIntType, /* ObMySQLDateType */
|
||||
ObIntType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*TimeType*/
|
||||
@ -1174,6 +1214,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObIntType, /* ObMySQLDateType */
|
||||
ObIntType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*YearType*/
|
||||
@ -1230,6 +1272,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObUInt64Type, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObUInt64Type, /* ObMySQLDateType */
|
||||
ObUInt64Type, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*VarcharType*/
|
||||
@ -1286,6 +1330,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObIntType, /* ObMySQLDateType */
|
||||
ObIntType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*CharType*/
|
||||
@ -1342,6 +1388,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObIntType, /* ObMySQLDateType */
|
||||
ObIntType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*HexStringType*/
|
||||
@ -1398,6 +1446,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObUInt64Type, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObUInt64Type, /* ObMySQLDateType */
|
||||
ObUInt64Type, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*ExtendType*/
|
||||
@ -1454,6 +1504,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*UnknownType*/
|
||||
@ -1510,6 +1562,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObIntType, /* ObMySQLDateType */
|
||||
ObIntType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObTinyTextType*/
|
||||
{
|
||||
@ -1565,6 +1619,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObIntType, /* ObMySQLDateType */
|
||||
ObIntType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObTextType*/
|
||||
{
|
||||
@ -1620,6 +1676,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObIntType, /* ObMySQLDateType */
|
||||
ObIntType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObMediumTextType*/
|
||||
{
|
||||
@ -1675,6 +1733,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObIntType, /* ObMySQLDateType */
|
||||
ObIntType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObLongTextType*/
|
||||
{
|
||||
@ -1730,6 +1790,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObIntType, /* ObMySQLDateType */
|
||||
ObIntType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*BitType*/
|
||||
{
|
||||
@ -1785,6 +1847,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObUInt64Type, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObUInt64Type, /* ObMySQLDateType */
|
||||
ObUInt64Type, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObEnumType*/
|
||||
{
|
||||
@ -1840,6 +1904,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObUInt64Type, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObUInt64Type, /* ObMySQLDateType */
|
||||
ObUInt64Type, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObSetType*/
|
||||
{
|
||||
@ -1895,6 +1961,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObUInt64Type, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObUInt64Type, /* ObMySQLDateType */
|
||||
ObUInt64Type, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObEnumInnerType*/
|
||||
{
|
||||
@ -1950,6 +2018,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObSetInnerType*/
|
||||
{
|
||||
@ -2005,6 +2075,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/* ObTimestampTZType*/
|
||||
{
|
||||
@ -2060,6 +2132,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObIntType, /* ObMySQLDateType */
|
||||
ObIntType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/* ObTimestampLTZType*/
|
||||
{
|
||||
@ -2115,6 +2189,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObIntType, /* ObMySQLDateType */
|
||||
ObIntType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/* ObTimestampNanoType*/
|
||||
{
|
||||
@ -2170,6 +2246,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObIntType, /* ObMySQLDateType */
|
||||
ObIntType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/* ObRawType*/
|
||||
{
|
||||
@ -2225,6 +2303,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObIntType, /* ObMySQLDateType */
|
||||
ObIntType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*IntervalYMType*/
|
||||
{
|
||||
@ -2280,6 +2360,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*IntervalDSType*/
|
||||
{
|
||||
@ -2335,6 +2417,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObNumberFloatType*/
|
||||
{
|
||||
@ -2390,6 +2474,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObNVarchar2Type*/
|
||||
{
|
||||
@ -2445,6 +2531,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObNCharType*/
|
||||
{
|
||||
@ -2500,6 +2588,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObURowIDType*/
|
||||
{
|
||||
@ -2555,6 +2645,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObLobType*/
|
||||
{
|
||||
@ -2610,6 +2702,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObJsonType*/
|
||||
{
|
||||
@ -2666,6 +2760,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObIntType, /* ObMySQLDateType */
|
||||
ObIntType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObGeometryType*/
|
||||
{
|
||||
@ -2721,6 +2817,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObUserDefinedSQLType*/
|
||||
{
|
||||
@ -2776,6 +2874,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObDecimalIntType*/
|
||||
{
|
||||
@ -2831,6 +2931,8 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* UDT */
|
||||
ObIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObCollectionSQLType*/
|
||||
{
|
||||
@ -2886,7 +2988,123 @@ static constexpr ObObjType INT_DIV_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
}
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*MySQLDateType*/
|
||||
{
|
||||
ObIntType, /* NullType */
|
||||
ObIntType, /* TinyIntType */
|
||||
ObIntType, /* SmallIntType */
|
||||
ObIntType, /* MediumIntType */
|
||||
ObIntType, /* Int32Type */
|
||||
ObIntType, /* IntType */
|
||||
ObUInt64Type, /* UTinyIntType */
|
||||
ObUInt64Type, /* USmallIntType */
|
||||
ObUInt64Type, /* UMediumIntType */
|
||||
ObUInt64Type, /* UInt32Type */
|
||||
ObUInt64Type, /* UInt64Type */
|
||||
ObIntType, /* FloatType */
|
||||
ObIntType, /* DoubleType */
|
||||
ObUInt64Type, /* UFloatType */
|
||||
ObUInt64Type, /* UDoubleType */
|
||||
ObIntType, /* NumberType */
|
||||
ObUInt64Type, /* UNumberType */
|
||||
ObIntType, /* DateTimeType */
|
||||
ObIntType, /* TimestampType */
|
||||
ObIntType, /* DateType */
|
||||
ObIntType, /* TimeType */
|
||||
ObUInt64Type, /* YearType */
|
||||
ObIntType, /* VarcharType */
|
||||
ObIntType, /* CharType */
|
||||
ObUInt64Type, /* HexStringType */
|
||||
ObMaxType, /* ExtendType */
|
||||
ObIntType, /* UnknownType */
|
||||
ObIntType, /* ObTinyTextType */
|
||||
ObIntType, /* ObTextType */
|
||||
ObIntType, /* ObMediumTextType */
|
||||
ObIntType, /* ObLongTextType */
|
||||
ObUInt64Type, /* BitType */
|
||||
ObUInt64Type, /* ObEnumType */
|
||||
ObUInt64Type, /* ObSetType */
|
||||
ObMaxType, /* ObEnumInnerType */
|
||||
ObMaxType, /* ObSetInnerType */
|
||||
ObIntType, /* ObTimestampTZType */
|
||||
ObIntType, /* ObTimestampLTZType */
|
||||
ObIntType, /* ObTimestampNanoType */
|
||||
ObIntType, /* ObRawType */
|
||||
ObMaxType, /*ObIntervalYMType */
|
||||
ObMaxType, /*ObIntervalDSType */
|
||||
ObMaxType, /* ObNumberFloatType */
|
||||
ObMaxType, /* ObNVarchar2Type */
|
||||
ObMaxType, /* ObNCharType */
|
||||
ObMaxType, /* ObURowIDType */
|
||||
ObMaxType, /* ObLobType */
|
||||
ObIntType, /* ObJsonType */
|
||||
ObMaxType, /* ObGeometryType */
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObIntType, /* ObMySQLDateType */
|
||||
ObIntType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*MySQLDateTimeType*/
|
||||
{
|
||||
ObIntType, /* NullType */
|
||||
ObIntType, /* TinyIntType */
|
||||
ObIntType, /* SmallIntType */
|
||||
ObIntType, /* MediumIntType */
|
||||
ObIntType, /* Int32Type */
|
||||
ObIntType, /* IntType */
|
||||
ObUInt64Type, /* UTinyIntType */
|
||||
ObUInt64Type, /* USmallIntType */
|
||||
ObUInt64Type, /* UMediumIntType */
|
||||
ObUInt64Type, /* UInt32Type */
|
||||
ObUInt64Type, /* UInt64Type */
|
||||
ObIntType, /* FloatType */
|
||||
ObIntType, /* DoubleType */
|
||||
ObUInt64Type, /* UFloatType */
|
||||
ObUInt64Type, /* UDoubleType */
|
||||
ObIntType, /* NumberType */
|
||||
ObUInt64Type, /* UNumberType */
|
||||
ObIntType, /* DateTimeType */
|
||||
ObIntType, /* TimestampType */
|
||||
ObIntType, /* DateType */
|
||||
ObIntType, /* TimeType */
|
||||
ObUInt64Type, /* YearType */
|
||||
ObIntType, /* VarcharType */
|
||||
ObIntType, /* CharType */
|
||||
ObUInt64Type, /* HexStringType */
|
||||
ObMaxType, /* ExtendType */
|
||||
ObIntType, /* UnknownType */
|
||||
ObIntType, /* ObTinyTextType */
|
||||
ObIntType, /* ObTextType */
|
||||
ObIntType, /* ObMediumTextType */
|
||||
ObIntType, /* ObLongTextType */
|
||||
ObUInt64Type, /* BitType */
|
||||
ObUInt64Type, /* ObEnumType */
|
||||
ObUInt64Type, /* ObSetType */
|
||||
ObMaxType, /* ObEnumInnerType */
|
||||
ObMaxType, /* ObSetInnerType */
|
||||
ObIntType, /* ObTimestampTZType */
|
||||
ObIntType, /* ObTimestampLTZType */
|
||||
ObIntType, /* ObTimestampNanoType */
|
||||
ObIntType, /* ObRawType */
|
||||
ObMaxType, /*ObIntervalYMType */
|
||||
ObMaxType, /*ObIntervalDSType */
|
||||
ObMaxType, /* ObNumberFloatType */
|
||||
ObMaxType, /* ObNVarchar2Type */
|
||||
ObMaxType, /* ObNCharType */
|
||||
ObMaxType, /* ObURowIDType */
|
||||
ObMaxType, /* ObLobType */
|
||||
ObIntType, /* ObJsonType */
|
||||
ObMaxType, /* ObGeometryType */
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObIntType, /* ObMySQLDateType */
|
||||
ObIntType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
};
|
||||
|
||||
static_assert(is_array_fully_initialized(INT_DIV_RESULT_TYPE, ObMaxType), "INT_DIV_RESULT_TYPE is partially initlized");
|
File diff suppressed because it is too large
Load Diff
@ -54,6 +54,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*TinyIntType*/
|
||||
@ -110,6 +112,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObIntType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*SmallIntType*/
|
||||
@ -166,6 +170,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObIntType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*MediumIntType*/
|
||||
@ -222,6 +228,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObIntType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*Int32Type*/
|
||||
@ -278,6 +286,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObIntType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*IntType*/
|
||||
@ -334,6 +344,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObIntType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*UTinyIntType*/
|
||||
@ -390,6 +402,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObUInt64Type, /* ObMySQLDateType */
|
||||
ObUNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*USmallIntType*/
|
||||
@ -446,6 +460,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObUInt64Type, /* ObMySQLDateType */
|
||||
ObUNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*UMediumIntType*/
|
||||
@ -502,6 +518,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObUInt64Type, /* ObMySQLDateType */
|
||||
ObUNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*UInt32Type*/
|
||||
@ -558,6 +576,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObUInt64Type, /* ObMySQLDateType */
|
||||
ObUNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*UIntType*/
|
||||
@ -614,6 +634,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObUInt64Type, /* ObMySQLDateType */
|
||||
ObUNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*FloatType*/
|
||||
@ -670,6 +692,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*DoubleType*/
|
||||
@ -726,6 +750,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*UFloatType*/
|
||||
@ -782,6 +808,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObUDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObUDoubleType, /* ObMySQLDateType */
|
||||
ObUDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*UDoubleType*/
|
||||
@ -838,6 +866,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObUDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObUDoubleType, /* ObMySQLDateType */
|
||||
ObUDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*NumberType*/
|
||||
@ -894,6 +924,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObNumberType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*UNumberType*/
|
||||
@ -950,6 +982,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObUNumberType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObUNumberType, /* ObMySQLDateType */
|
||||
ObUNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*DateTimeType*/
|
||||
@ -1006,6 +1040,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObNumberType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*TimestampType*/
|
||||
@ -1062,6 +1098,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObNumberType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*DateType*/
|
||||
@ -1118,6 +1156,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObNumberType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObIntType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*TimeType*/
|
||||
@ -1174,6 +1214,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObNumberType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*YearType*/
|
||||
@ -1230,6 +1272,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObUNumberType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObUInt64Type, /* ObMySQLDateType */
|
||||
ObUNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*VarcharType*/
|
||||
@ -1286,6 +1330,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*CharType*/
|
||||
@ -1342,6 +1388,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*HexStringType*/
|
||||
@ -1398,6 +1446,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObUDoubleType, /* ObMySQLDateType */
|
||||
ObUDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*ExtendType*/
|
||||
@ -1454,6 +1504,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObMaxType, /*ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*UnknownType*/
|
||||
@ -1510,6 +1562,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*TinyTextType*/
|
||||
{
|
||||
@ -1565,6 +1619,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*TextType*/
|
||||
{
|
||||
@ -1620,6 +1676,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*MediumTextType*/
|
||||
{
|
||||
@ -1675,6 +1733,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*LongTextType*/
|
||||
{
|
||||
@ -1730,6 +1790,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*BitType*/
|
||||
{
|
||||
@ -1785,6 +1847,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObUNumberType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObUInt64Type, /* ObMySQLDateType */
|
||||
ObUNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObEnumType*/
|
||||
{
|
||||
@ -1840,6 +1904,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObSetType*/
|
||||
{
|
||||
@ -1895,6 +1961,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObEnumInnerType*/
|
||||
{
|
||||
@ -1950,6 +2018,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObSetInnerType*/
|
||||
{
|
||||
@ -2005,6 +2075,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*ObTimestampTZType*/
|
||||
@ -2061,6 +2133,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObNumberType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObTimestampLTZType*/
|
||||
{
|
||||
@ -2116,6 +2190,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObNumberType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObTimestampNanoType*/
|
||||
{
|
||||
@ -2171,6 +2247,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObNumberType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObRawType*/
|
||||
{
|
||||
@ -2226,6 +2304,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObNumberType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObIntervalYMType*/
|
||||
{
|
||||
@ -2281,6 +2361,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObIntervalDSType*/
|
||||
{
|
||||
@ -2336,6 +2418,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObNumberFloatType*/
|
||||
{
|
||||
@ -2391,6 +2475,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObNVarchar2Type*/
|
||||
{
|
||||
@ -2446,6 +2532,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObNCharType*/
|
||||
{
|
||||
@ -2501,6 +2589,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObURowIDType*/
|
||||
{
|
||||
@ -2556,6 +2646,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObLobType*/
|
||||
{
|
||||
@ -2611,6 +2703,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObJsonType*/
|
||||
{
|
||||
@ -2666,6 +2760,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObGeometryType*/
|
||||
{
|
||||
@ -2721,6 +2817,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObMaxType, /*ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObUserDefinedSQLType*/
|
||||
{
|
||||
@ -2776,6 +2874,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObMaxType, /*ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*ObDecimalIntType*/
|
||||
@ -2832,6 +2932,8 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /*ObUserDefinedSQLType*/
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /*ObCollectionSQLType*/
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObCollectionSQLType*/
|
||||
{
|
||||
@ -2887,6 +2989,122 @@ static constexpr ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*MySQLDateType*/
|
||||
{
|
||||
ObDoubleType, /* NullType */
|
||||
ObIntType, /* TinyIntType */
|
||||
ObIntType, /* SmallIntType */
|
||||
ObIntType, /* MediumIntType */
|
||||
ObIntType, /* Int32Type */
|
||||
ObIntType, /* IntType */
|
||||
ObIntType, /* UTinyIntType */
|
||||
ObIntType, /* USmallIntType */
|
||||
ObIntType, /* UMediumIntType */
|
||||
ObIntType, /* UInt32Type */
|
||||
ObIntType, /* UIntType */
|
||||
ObDoubleType, /* FloatType */
|
||||
ObDoubleType, /* DoubleType */
|
||||
ObDoubleType, /* UFloatType */
|
||||
ObDoubleType, /* UDoubleType */
|
||||
ObNumberType, /* NumberType */
|
||||
ObNumberType, /* UNumberType */
|
||||
ObNumberType, /* DateTimeType */
|
||||
ObNumberType, /* TimestampType */
|
||||
ObIntType, /* DateType */
|
||||
ObNumberType, /* TimeType */
|
||||
ObIntType, /* YearType */
|
||||
ObDoubleType, /* VarcharType */
|
||||
ObDoubleType, /* CharType */
|
||||
ObDoubleType, /* HexStringType */
|
||||
ObMaxType, /* ExtendType */
|
||||
ObDoubleType, /* UnknownType */
|
||||
ObDoubleType, /*TinyTextType*/
|
||||
ObDoubleType, /*TextType*/
|
||||
ObDoubleType, /*MediumTextType*/
|
||||
ObDoubleType, /*LongTextType*/
|
||||
ObIntType, /* BitType */
|
||||
ObDoubleType, /* ObEnumType */
|
||||
ObDoubleType, /* ObSetType */
|
||||
ObMaxType, /* ObEnumInnerType */
|
||||
ObMaxType, /* ObSetInnerType */
|
||||
ObNumberType, /*ObTimestampTZType */
|
||||
ObNumberType, /*ObTimestampLTZType */
|
||||
ObNumberType, /*ObTimestampNanoType */
|
||||
ObNumberType, /*ObRawType */
|
||||
ObMaxType, /*ObIntervalYMType */
|
||||
ObMaxType, /*ObIntervalDSType */
|
||||
ObMaxType, /* ObNumberFloatType */
|
||||
ObMaxType, /* ObNVarchar2Type */
|
||||
ObMaxType, /* ObNCharType */
|
||||
ObMaxType, /* ObURowIDType */
|
||||
ObMaxType, /* ObLobType */
|
||||
ObDoubleType, /* ObJsonType */
|
||||
ObMaxType, /* ObGeometryType */
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObIntType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*MySQLDateTimeType*/
|
||||
{
|
||||
ObDoubleType, /* NullType */
|
||||
ObNumberType, /* TinyIntType */
|
||||
ObNumberType, /* SmallIntType */
|
||||
ObNumberType, /* MediumIntType */
|
||||
ObNumberType, /* Int32Type */
|
||||
ObNumberType, /* IntType */
|
||||
ObNumberType, /* UTinyIntType */
|
||||
ObNumberType, /* USmallIntType */
|
||||
ObNumberType, /* UMediumIntType */
|
||||
ObNumberType, /* UInt32Type */
|
||||
ObNumberType, /* UIntType */
|
||||
ObDoubleType, /* FloatType */
|
||||
ObDoubleType, /* DoubleType */
|
||||
ObDoubleType, /* UFloatType */
|
||||
ObDoubleType, /* UDoubleType */
|
||||
ObNumberType, /* NumberType */
|
||||
ObNumberType, /* UNumberType */
|
||||
ObNumberType, /* DateTimeType */
|
||||
ObNumberType, /* TimestampType */
|
||||
ObNumberType, /* DateType */
|
||||
ObNumberType, /* TimeType */
|
||||
ObNumberType, /* YearType */
|
||||
ObDoubleType, /* VarcharType */
|
||||
ObDoubleType, /* CharType */
|
||||
ObDoubleType, /* HexStringType */
|
||||
ObMaxType, /* ExtendType */
|
||||
ObDoubleType, /* UnknownType */
|
||||
ObDoubleType, /*TinyTextType*/
|
||||
ObDoubleType, /*TextType*/
|
||||
ObDoubleType, /*MediumTextType*/
|
||||
ObDoubleType, /*LongTextType*/
|
||||
ObNumberType, /* BitType */
|
||||
ObDoubleType, /* ObEnumType */
|
||||
ObDoubleType, /* ObSetType */
|
||||
ObMaxType, /* ObEnumInnerType */
|
||||
ObMaxType, /* ObSetInnerType */
|
||||
ObNumberType, /*ObTimestampTZType */
|
||||
ObNumberType, /*ObTimestampLTZType */
|
||||
ObNumberType, /*ObTimestampNanoType */
|
||||
ObNumberType, /*ObRawType */
|
||||
ObMaxType, /*ObIntervalYMType */
|
||||
ObMaxType, /*ObIntervalDSType */
|
||||
ObMaxType, /* ObNumberFloatType */
|
||||
ObMaxType, /* ObNVarchar2Type */
|
||||
ObMaxType, /* ObNCharType */
|
||||
ObMaxType, /* ObURowIDType */
|
||||
ObMaxType, /* ObLobType */
|
||||
ObDoubleType, /* ObJsonType */
|
||||
ObMaxType, /* ObGeometryType */
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -52,6 +52,8 @@ static constexpr ObObjType NEG_RESULT_TYPE[ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
};
|
||||
|
||||
static constexpr ObObjType NEG_RESULT_TYPE_ORACLE[ObMaxType] =
|
||||
@ -108,6 +110,8 @@ static constexpr ObObjType NEG_RESULT_TYPE_ORACLE[ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObNumberType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
};
|
||||
|
||||
static_assert(is_array_fully_initialized(NEG_RESULT_TYPE_ORACLE), "NEG_RESULT_TYPE_ORACLE is partially initlized");
|
||||
|
@ -29,6 +29,8 @@ static const ObObjType NVL_TYPE_PROMOTION[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObDecimalIntType,/*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObMySQLDateType, /*mysql date*/
|
||||
ObMySQLDateTimeType, /*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*int -> XXX*/
|
||||
@ -59,6 +61,8 @@ static const ObObjType NVL_TYPE_PROMOTION[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObDecimalIntType,/*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObVarcharType, /*mysql date*/
|
||||
ObVarcharType, /*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*uint -> XXX*/
|
||||
@ -89,6 +93,8 @@ static const ObObjType NVL_TYPE_PROMOTION[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObDecimalIntType,/*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObVarcharType, /*mysql date*/
|
||||
ObVarcharType, /*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*float -> XXX*/
|
||||
@ -119,6 +125,8 @@ static const ObObjType NVL_TYPE_PROMOTION[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObDoubleType,/*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObVarcharType, /*mysql date*/
|
||||
ObVarcharType, /*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*double -> XXX*/
|
||||
@ -149,6 +157,8 @@ static const ObObjType NVL_TYPE_PROMOTION[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObDoubleType,/*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObVarcharType, /*mysql date*/
|
||||
ObVarcharType, /*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*number -> XXX*/
|
||||
@ -179,6 +189,8 @@ static const ObObjType NVL_TYPE_PROMOTION[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObDecimalIntType,/*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObVarcharType, /*mysql date*/
|
||||
ObVarcharType, /*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*datetime -> XXX*/
|
||||
@ -209,6 +221,8 @@ static const ObObjType NVL_TYPE_PROMOTION[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObVarcharType,/*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObMySQLDateTimeType, /*mysql date*/
|
||||
ObMySQLDateTimeType, /*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*date -> XXX*/
|
||||
@ -239,6 +253,8 @@ static const ObObjType NVL_TYPE_PROMOTION[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObVarcharType,/*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObMySQLDateType, /*mysql date*/
|
||||
ObMySQLDateTimeType, /*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*time -> XXX*/
|
||||
@ -269,6 +285,8 @@ static const ObObjType NVL_TYPE_PROMOTION[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObVarcharType,/*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObMySQLDateTimeType, /*mysql date*/
|
||||
ObMySQLDateTimeType, /*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*year -> XXX*/
|
||||
@ -299,6 +317,8 @@ static const ObObjType NVL_TYPE_PROMOTION[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObDecimalIntType,/*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObVarcharType, /*mysql date*/
|
||||
ObVarcharType, /*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*string -> XXX*/
|
||||
@ -329,6 +349,8 @@ static const ObObjType NVL_TYPE_PROMOTION[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObVarcharType,/*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObVarcharType, /*mysql date*/
|
||||
ObVarcharType, /*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*extend -> XXX*/
|
||||
@ -359,6 +381,8 @@ static const ObObjType NVL_TYPE_PROMOTION[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObMaxType,/*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObMaxType, /*mysql date*/
|
||||
ObMaxType, /*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*unknown -> XXX*/
|
||||
@ -389,6 +413,8 @@ static const ObObjType NVL_TYPE_PROMOTION[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObDecimalIntType,/*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObMaxType, /*mysql date*/
|
||||
ObMaxType, /*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*text -> XXX*/
|
||||
@ -419,6 +445,8 @@ static const ObObjType NVL_TYPE_PROMOTION[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObLongTextType,/*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObLongTextType, /*mysql date*/
|
||||
ObLongTextType, /*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*bit -> XXX*/
|
||||
@ -449,6 +477,8 @@ static const ObObjType NVL_TYPE_PROMOTION[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObDecimalIntType,/*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObVarcharType, /*mysql date*/
|
||||
ObVarcharType, /*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*EnumSet -> XXX*/
|
||||
@ -479,6 +509,8 @@ static const ObObjType NVL_TYPE_PROMOTION[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObVarcharType,/*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObVarcharType, /*mysql date*/
|
||||
ObVarcharType, /*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*EnumSetInner -> XXX*/
|
||||
@ -509,6 +541,8 @@ static const ObObjType NVL_TYPE_PROMOTION[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObMaxType, /*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObMaxType, /*mysql date*/
|
||||
ObMaxType, /*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*OTimestamp -> XXX*/
|
||||
@ -539,6 +573,8 @@ static const ObObjType NVL_TYPE_PROMOTION[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObVarcharType,/*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObTimestampTZType, /*mysql date*/
|
||||
ObTimestampTZType, /*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*Raw -> XXX*/
|
||||
@ -569,6 +605,8 @@ static const ObObjType NVL_TYPE_PROMOTION[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObMaxType, /*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObMaxType, /*mysql date*/
|
||||
ObMaxType, /*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*Interval -> XXX*/
|
||||
@ -599,6 +637,8 @@ static const ObObjType NVL_TYPE_PROMOTION[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObMaxType, /*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObMaxType, /*mysql date*/
|
||||
ObMaxType, /*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*RowID -> XXX*/
|
||||
@ -629,6 +669,8 @@ static const ObObjType NVL_TYPE_PROMOTION[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObMaxType, /*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObMaxType, /*mysql date*/
|
||||
ObMaxType, /*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*Lob -> XXX*/
|
||||
@ -659,6 +701,8 @@ static const ObObjType NVL_TYPE_PROMOTION[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObMaxType, /*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObMaxType, /*mysql date*/
|
||||
ObMaxType, /*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*Json -> XXX*/
|
||||
@ -688,6 +732,8 @@ static const ObObjType NVL_TYPE_PROMOTION[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*Geometry*/
|
||||
ObMaxType, /*UDT*/
|
||||
ObJsonType, /*DecimalInt*/
|
||||
ObJsonType, /*mysql date*/
|
||||
ObJsonType, /*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*Geometry -> XXX*/
|
||||
@ -718,6 +764,8 @@ static const ObObjType NVL_TYPE_PROMOTION[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*UDT*/
|
||||
ObMaxType, /*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObMaxType, /*mysql date*/
|
||||
ObMaxType, /*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*UDT -> XXX*/
|
||||
@ -748,6 +796,8 @@ static const ObObjType NVL_TYPE_PROMOTION[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*UDT*/
|
||||
ObMaxType, /*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObMaxType, /*mysql date*/
|
||||
ObMaxType, /*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*DecimalInt -> XXX*/
|
||||
@ -778,6 +828,8 @@ static const ObObjType NVL_TYPE_PROMOTION[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*UDT*/
|
||||
ObDecimalIntType,/*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObVarcharType, /*mysql date*/
|
||||
ObVarcharType, /*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*Collection Sql Type -> XXX*/
|
||||
@ -808,6 +860,72 @@ static const ObObjType NVL_TYPE_PROMOTION[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*UDT*/
|
||||
ObMaxType, /*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObMaxType, /*mysql date*/
|
||||
ObMaxType, /*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*mysql date -> XXX*/
|
||||
ObMySQLDateType,/*null*/
|
||||
ObVarcharType,/*int*/
|
||||
ObVarcharType,/*uint*/
|
||||
ObVarcharType,/*float*/
|
||||
ObVarcharType,/*double*/
|
||||
ObVarcharType,/*number*/
|
||||
ObMySQLDateTimeType,/*datetime*/
|
||||
ObMySQLDateType,/*date*/
|
||||
ObMySQLDateTimeType,/*time*/
|
||||
ObVarcharType,/*year*/
|
||||
ObVarcharType,/*string*/
|
||||
ObMaxType,/*extend*/
|
||||
ObMaxType, /*unknown*/
|
||||
ObLongTextType, /*text*/
|
||||
ObVarcharType, /*bit*/
|
||||
ObVarcharType, /*EnumSet*/
|
||||
ObMaxType, /*EnumSetInner*/
|
||||
ObTimestampTZType, /*OTimestamp*/
|
||||
ObRawType, /*Raw*/
|
||||
ObMaxType, /*Interval*/
|
||||
ObMaxType, /*RowID*/
|
||||
ObMaxType, /*Lob*/
|
||||
ObJsonType, /*Json*/
|
||||
ObMaxType, /*Geometry*/
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObVarcharType,/*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObMySQLDateType, /*mysql date*/
|
||||
ObMySQLDateTimeType, /*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*mysql datetime -> XXX*/
|
||||
ObMySQLDateTimeType,/*null*/
|
||||
ObVarcharType,/*int*/
|
||||
ObVarcharType,/*uint*/
|
||||
ObVarcharType,/*float*/
|
||||
ObVarcharType,/*double*/
|
||||
ObVarcharType,/*number*/
|
||||
ObMySQLDateTimeType,/*datetime*/
|
||||
ObMySQLDateTimeType,/*date*/
|
||||
ObMySQLDateTimeType,/*time*/
|
||||
ObVarcharType,/*year*/
|
||||
ObVarcharType,/*string*/
|
||||
ObMaxType,/*extend*/
|
||||
ObMaxType, /*unknown*/
|
||||
ObLongTextType, /*text*/
|
||||
ObVarcharType, /*bit*/
|
||||
ObVarcharType, /*EnumSet*/
|
||||
ObMaxType, /*EnumSetInner*/
|
||||
ObTimestampTZType, /*OTimestamp*/
|
||||
ObRawType, /*Raw*/
|
||||
ObMaxType, /*Interval*/
|
||||
ObMaxType, /*RowID*/
|
||||
ObMaxType, /*Lob*/
|
||||
ObJsonType, /*Json*/
|
||||
ObMaxType, /*Geometry*/
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObVarcharType,/*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObMySQLDateTimeType, /*mysql date*/
|
||||
ObMySQLDateTimeType, /*mysql datetime*/
|
||||
},
|
||||
};
|
||||
|
||||
@ -843,6 +961,8 @@ static const ObObjType NVL_TYPE_PROMOTION_ORACLE[ObMaxTC][ObMaxTC] =
|
||||
ObUserDefinedSQLType, /*User Defined Type*/
|
||||
ObNumberType, /*DecimalInt*/
|
||||
ObCollectionSQLType, /*Collection Sql Type*/
|
||||
ObMaxType,/*mysql date*/
|
||||
ObMaxType,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
// treat int as number, because const 1 will be parsed to bigint 1, not number 1 now.
|
||||
@ -874,6 +994,8 @@ static const ObObjType NVL_TYPE_PROMOTION_ORACLE[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObNumberType, /*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObMaxType,/*mysql date*/
|
||||
ObMaxType,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*uint -> XXX*/
|
||||
@ -904,6 +1026,8 @@ static const ObObjType NVL_TYPE_PROMOTION_ORACLE[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObMaxType, /*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObMaxType,/*mysql date*/
|
||||
ObMaxType,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*float -> XXX*/
|
||||
@ -934,6 +1058,8 @@ static const ObObjType NVL_TYPE_PROMOTION_ORACLE[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObFloatType, /*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObMaxType,/*mysql date*/
|
||||
ObMaxType,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*double -> XXX*/
|
||||
@ -964,6 +1090,8 @@ static const ObObjType NVL_TYPE_PROMOTION_ORACLE[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObDoubleType, /*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObMaxType,/*mysql date*/
|
||||
ObMaxType,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*number -> XXX*/
|
||||
@ -994,6 +1122,8 @@ static const ObObjType NVL_TYPE_PROMOTION_ORACLE[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObNumberType, /*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObMaxType,/*mysql date*/
|
||||
ObMaxType,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*datetime -> XXX*/
|
||||
@ -1024,6 +1154,8 @@ static const ObObjType NVL_TYPE_PROMOTION_ORACLE[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObMaxType, /*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObMaxType,/*mysql date*/
|
||||
ObMaxType,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*date -> XXX*/
|
||||
@ -1054,6 +1186,8 @@ static const ObObjType NVL_TYPE_PROMOTION_ORACLE[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObMaxType, /*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObMaxType,/*mysql date*/
|
||||
ObMaxType,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*time -> XXX*/
|
||||
@ -1084,6 +1218,8 @@ static const ObObjType NVL_TYPE_PROMOTION_ORACLE[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObMaxType, /*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObMaxType,/*mysql date*/
|
||||
ObMaxType,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*year -> XXX*/
|
||||
@ -1114,6 +1250,8 @@ static const ObObjType NVL_TYPE_PROMOTION_ORACLE[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObMaxType, /*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObMaxType,/*mysql date*/
|
||||
ObMaxType,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*string -> XXX*/
|
||||
@ -1144,6 +1282,8 @@ static const ObObjType NVL_TYPE_PROMOTION_ORACLE[ObMaxTC][ObMaxTC] =
|
||||
ObVarcharType, /*User Defined Type*/
|
||||
ObVarcharType, /*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObMaxType,/*mysql date*/
|
||||
ObMaxType,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*extend -> XXX*/
|
||||
@ -1174,6 +1314,8 @@ static const ObObjType NVL_TYPE_PROMOTION_ORACLE[ObMaxTC][ObMaxTC] =
|
||||
ObUserDefinedSQLType, /*User Defined Type*/
|
||||
ObMaxType, /*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObMaxType,/*mysql date*/
|
||||
ObMaxType,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*unknown -> XXX*/
|
||||
@ -1204,6 +1346,8 @@ static const ObObjType NVL_TYPE_PROMOTION_ORACLE[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObMaxType, /*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObMaxType,/*mysql date*/
|
||||
ObMaxType,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*text -> XXX*/
|
||||
@ -1234,6 +1378,8 @@ static const ObObjType NVL_TYPE_PROMOTION_ORACLE[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObLongTextType, /*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObMaxType,/*mysql date*/
|
||||
ObMaxType,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*bit -> XXX*/
|
||||
@ -1264,6 +1410,8 @@ static const ObObjType NVL_TYPE_PROMOTION_ORACLE[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObMaxType, /*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObMaxType,/*mysql date*/
|
||||
ObMaxType,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*EnumSet -> XXX*/
|
||||
@ -1294,6 +1442,8 @@ static const ObObjType NVL_TYPE_PROMOTION_ORACLE[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObMaxType, /*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObMaxType,/*mysql date*/
|
||||
ObMaxType,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*EnumSetInner -> XXX*/
|
||||
@ -1324,6 +1474,8 @@ static const ObObjType NVL_TYPE_PROMOTION_ORACLE[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObMaxType, /*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObMaxType,/*mysql date*/
|
||||
ObMaxType,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*otimestamp-> XXX*/
|
||||
@ -1354,6 +1506,8 @@ static const ObObjType NVL_TYPE_PROMOTION_ORACLE[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObMaxType, /*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObMaxType,/*mysql date*/
|
||||
ObMaxType,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*Raw-> XXX*/
|
||||
@ -1384,6 +1538,8 @@ static const ObObjType NVL_TYPE_PROMOTION_ORACLE[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObMaxType, /*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObMaxType,/*mysql date*/
|
||||
ObMaxType,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*Interval-> XXX*/
|
||||
@ -1414,6 +1570,8 @@ static const ObObjType NVL_TYPE_PROMOTION_ORACLE[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObMaxType, /*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObMaxType,/*mysql date*/
|
||||
ObMaxType,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*RowID-> XXX*/
|
||||
@ -1444,6 +1602,8 @@ static const ObObjType NVL_TYPE_PROMOTION_ORACLE[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObMaxType, /*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObMaxType,/*mysql date*/
|
||||
ObMaxType,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*Lob -> XXX*/
|
||||
@ -1474,6 +1634,8 @@ static const ObObjType NVL_TYPE_PROMOTION_ORACLE[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObMaxType, /*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObMaxType,/*mysql date*/
|
||||
ObMaxType,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*Json -> XXX*/
|
||||
@ -1504,6 +1666,8 @@ static const ObObjType NVL_TYPE_PROMOTION_ORACLE[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObMaxType, /*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObMaxType,/*mysql date*/
|
||||
ObMaxType,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*Geometry -> XXX*/
|
||||
@ -1534,6 +1698,8 @@ static const ObObjType NVL_TYPE_PROMOTION_ORACLE[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObMaxType, /*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObMaxType,/*mysql date*/
|
||||
ObMaxType,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*User Defined Type -> XXX*/
|
||||
@ -1564,6 +1730,8 @@ static const ObObjType NVL_TYPE_PROMOTION_ORACLE[ObMaxTC][ObMaxTC] =
|
||||
ObUserDefinedSQLType, /*User Defined Type*/
|
||||
ObMaxType, /*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObMaxType,/*mysql date*/
|
||||
ObMaxType,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*DecimalInt -> XXX*/
|
||||
@ -1594,6 +1762,8 @@ static const ObObjType NVL_TYPE_PROMOTION_ORACLE[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*UDT*/
|
||||
ObNumberType, /*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObMaxType,/*mysql date*/
|
||||
ObMaxType,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*User Defined Type -> XXX*/
|
||||
@ -1624,5 +1794,71 @@ static const ObObjType NVL_TYPE_PROMOTION_ORACLE[ObMaxTC][ObMaxTC] =
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObMaxType, /*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObMaxType,/*mysql date*/
|
||||
ObMaxType,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*MySQL Date -> XXX*/
|
||||
ObMaxType, /*null*/
|
||||
ObMaxType, /*int*/
|
||||
ObMaxType, /*uint*/
|
||||
ObMaxType, /*float*/
|
||||
ObMaxType, /*double*/
|
||||
ObMaxType, /*number*/
|
||||
ObMaxType, /*datetime*/
|
||||
ObMaxType, /*date*/
|
||||
ObMaxType, /*time*/
|
||||
ObMaxType, /*year*/
|
||||
ObMaxType, /*string*/
|
||||
ObMaxType, /*extend*/
|
||||
ObMaxType, /*unknown*/
|
||||
ObMaxType, /*text*/
|
||||
ObMaxType, /*bit*/
|
||||
ObMaxType, /*EnumSet*/
|
||||
ObMaxType, /*EnumSetInner*/
|
||||
ObMaxType, /*OTimestamp*/
|
||||
ObMaxType, /*Raw*/
|
||||
ObMaxType, /*Interval*/
|
||||
ObMaxType, /*RowID*/
|
||||
ObMaxType, /*Lob*/
|
||||
ObMaxType, /*Json*/
|
||||
ObMaxType, /*Geometry*/
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObMaxType, /*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObMaxType,/*mysql date*/
|
||||
ObMaxType,/*mysql datetime*/
|
||||
},
|
||||
{
|
||||
/*MySQL DateTime -> XXX*/
|
||||
ObMaxType, /*null*/
|
||||
ObMaxType, /*int*/
|
||||
ObMaxType, /*uint*/
|
||||
ObMaxType, /*float*/
|
||||
ObMaxType, /*double*/
|
||||
ObMaxType, /*number*/
|
||||
ObMaxType, /*datetime*/
|
||||
ObMaxType, /*date*/
|
||||
ObMaxType, /*time*/
|
||||
ObMaxType, /*year*/
|
||||
ObMaxType, /*string*/
|
||||
ObMaxType, /*extend*/
|
||||
ObMaxType, /*unknown*/
|
||||
ObMaxType, /*text*/
|
||||
ObMaxType, /*bit*/
|
||||
ObMaxType, /*EnumSet*/
|
||||
ObMaxType, /*EnumSetInner*/
|
||||
ObMaxType, /*OTimestamp*/
|
||||
ObMaxType, /*Raw*/
|
||||
ObMaxType, /*Interval*/
|
||||
ObMaxType, /*RowID*/
|
||||
ObMaxType, /*Lob*/
|
||||
ObMaxType, /*Json*/
|
||||
ObMaxType, /*Geometry*/
|
||||
ObMaxType, /*User Defined Type*/
|
||||
ObMaxType, /*DecimalInt*/
|
||||
ObMaxType, /*Collection Sql Type*/
|
||||
ObMaxType,/*mysql date*/
|
||||
ObMaxType,/*mysql datetime*/
|
||||
},
|
||||
};
|
||||
|
@ -1579,6 +1579,8 @@ ObObjType ObExprOperator::enumset_calc_types_[ObMaxTC] =
|
||||
ObNullType, /*UDT*/
|
||||
ObUInt64Type, /*ObDecimalIntTC*/
|
||||
ObNullType, /*COLLECTION*/
|
||||
ObVarcharType, /*ObMySQLDateTC*/
|
||||
ObVarcharType, /*ObMySQLDateTimeTC*/
|
||||
};
|
||||
////////////////////////////////////////////////////////////////
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -54,6 +54,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*TinyIntType*/
|
||||
@ -110,6 +112,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMySQLDateType, /* ObMySQLDateType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*SmallIntType*/
|
||||
@ -166,6 +170,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMySQLDateType, /* ObMySQLDateType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*MediumIntType*/
|
||||
@ -222,6 +228,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMySQLDateType, /* ObMySQLDateType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*Int32Type*/
|
||||
@ -278,6 +286,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMySQLDateType, /* ObMySQLDateType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*IntType*/
|
||||
@ -334,6 +344,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMySQLDateType, /* ObMySQLDateType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*UTinyIntType*/
|
||||
{
|
||||
@ -389,6 +401,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMySQLDateType, /* ObMySQLDateType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*USmallIntType*/
|
||||
@ -445,6 +459,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMySQLDateType, /* ObMySQLDateType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*UMediumIntType*/
|
||||
@ -501,6 +517,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMySQLDateType, /* ObMySQLDateType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*UInt32Type*/
|
||||
@ -557,6 +575,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMySQLDateType, /* ObMySQLDateType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*UInt64Type*/
|
||||
@ -613,6 +633,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMySQLDateType, /* ObMySQLDateType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*FloatType*/
|
||||
@ -669,6 +691,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMySQLDateType, /* ObMySQLDateType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*DoubleType*/
|
||||
@ -725,6 +749,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMySQLDateType, /* ObMySQLDateType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*UFloatType*/
|
||||
@ -781,6 +807,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMySQLDateType, /* ObMySQLDateType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*UDoubleType*/
|
||||
@ -837,6 +865,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMySQLDateType, /* ObMySQLDateType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*NumberType*/
|
||||
@ -893,6 +923,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObNumberType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMySQLDateType, /* ObMySQLDateType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*UNumberType*/
|
||||
@ -949,6 +981,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObNumberType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMySQLDateType, /* ObMySQLDateType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*DateTimeType*/
|
||||
@ -1005,6 +1039,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDateTimeType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*TimestampType*/
|
||||
@ -1061,6 +1097,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObTimestampType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObTimestampType, /* ObMySQLDateType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*DateType*/
|
||||
@ -1117,6 +1155,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDateType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMySQLDateType, /* ObMySQLDateType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*TimeType*/
|
||||
@ -1173,6 +1213,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObTimeType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*YearType*/
|
||||
@ -1229,6 +1271,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObVarcharType, /* ObMySQLDateType */
|
||||
ObVarcharType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*VarcharType*/
|
||||
@ -1285,6 +1329,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*CharType*/
|
||||
@ -1341,6 +1387,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*HexStringType*/
|
||||
@ -1397,6 +1445,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*ExtendType*/
|
||||
@ -1453,6 +1503,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*UnknownType*/
|
||||
@ -1509,6 +1561,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*TinyTextType*/
|
||||
{
|
||||
@ -1564,6 +1618,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*TextType*/
|
||||
{
|
||||
@ -1619,6 +1675,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*MediumTextType*/
|
||||
{
|
||||
@ -1674,6 +1732,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*LongTextType*/
|
||||
{
|
||||
@ -1729,6 +1789,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMySQLDateType, /* ObMySQLDateType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*BitType*/
|
||||
{
|
||||
@ -1784,6 +1846,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMySQLDateType, /* ObMySQLDateType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*EnumType*/
|
||||
{
|
||||
@ -1839,6 +1903,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*SetType*/
|
||||
{
|
||||
@ -1894,6 +1960,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*EnumInnerType*/
|
||||
{
|
||||
@ -1949,6 +2017,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*SetInnerType*/
|
||||
{
|
||||
@ -2004,6 +2074,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObTimestampTZType*/
|
||||
{
|
||||
@ -2059,6 +2131,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObTimestampTZType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObTimestampTZType, /* ObMySQLDateType */
|
||||
ObTimestampTZType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObTimestampLTZType*/
|
||||
{
|
||||
@ -2114,6 +2188,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObTimestampLTZType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObTimestampLTZType, /* ObMySQLDateType */
|
||||
ObTimestampLTZType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObTimestampNanoType*/
|
||||
{
|
||||
@ -2169,6 +2245,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObTimestampNanoType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObTimestampNanoType, /* ObMySQLDateType */
|
||||
ObTimestampNanoType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObRawType*/
|
||||
{
|
||||
@ -2224,6 +2302,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObRawType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObRawType, /* ObMySQLDateType */
|
||||
ObRawType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObIntervalYMType*/
|
||||
{
|
||||
@ -2279,6 +2359,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObIntervalYMType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObIntervalYMType, /* ObMySQLDateType */
|
||||
ObIntervalYMType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObIntervalDSType*/
|
||||
{
|
||||
@ -2334,6 +2416,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObIntervalDSType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObIntervalDSType, /* ObMySQLDateType */
|
||||
ObIntervalDSType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*NumberFloatType*/
|
||||
@ -2390,6 +2474,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObNumberType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMySQLDateType, /* ObMySQLDateType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*NVarchar2Type*/
|
||||
@ -2446,6 +2532,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*NCharType*/
|
||||
@ -2502,6 +2590,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObURowIDType*/
|
||||
{
|
||||
@ -2557,6 +2647,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObLobType*/
|
||||
{
|
||||
@ -2612,6 +2704,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObJsonType*/
|
||||
{
|
||||
@ -2667,6 +2761,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObJsonType, /* ObMySQLDateType */
|
||||
ObJsonType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObGeometryType*/
|
||||
{
|
||||
@ -2722,6 +2818,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObUserDefinedSQLType*/
|
||||
{
|
||||
@ -2777,6 +2875,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*DecimalIntType*/
|
||||
{
|
||||
@ -2832,6 +2932,8 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMySQLDateType, /* ObMySQLDateType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObCollectionSQLType*/
|
||||
{
|
||||
@ -2887,7 +2989,124 @@ static constexpr ObObjType RELATIONAL_EQUAL_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
}
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*MySQLDateType*/
|
||||
{
|
||||
ObMaxType, /* NullType */
|
||||
ObMySQLDateType, /* TinyIntType */
|
||||
ObMySQLDateType, /* SmallIntType */
|
||||
ObMySQLDateType, /* MediumIntType */
|
||||
ObMySQLDateType, /* Int32Type */
|
||||
ObMySQLDateType, /* IntType */
|
||||
ObMySQLDateType, /* UTinyIntType */
|
||||
ObMySQLDateType, /* USmallIntType */
|
||||
ObMySQLDateType, /* UMediumIntType */
|
||||
ObMySQLDateType, /* UInt32Type */
|
||||
ObMySQLDateType, /* UIntType */
|
||||
ObMySQLDateType, /* FloatType */
|
||||
ObMySQLDateType, /* DoubleType */
|
||||
ObMySQLDateType, /* UFloatType */
|
||||
ObMySQLDateType, /* UDoubleType */
|
||||
ObMySQLDateType, /* NumberType */
|
||||
ObMySQLDateType, /* UNumberType */
|
||||
ObMySQLDateTimeType, /* DateTimeType */
|
||||
ObTimestampType, /* TimestampType */
|
||||
ObMySQLDateType, /* DateType */
|
||||
ObMySQLDateTimeType, /* TimeType */
|
||||
ObVarcharType, /* YearType */
|
||||
ObMySQLDateTimeType, /* VarcharType */
|
||||
ObMySQLDateTimeType, /* CharType */
|
||||
ObMySQLDateTimeType, /* HexStringType */
|
||||
ObMaxType, /* ExtendType */
|
||||
ObMaxType, /* UnknownType */
|
||||
ObMySQLDateTimeType, /*TinyTextType*/
|
||||
ObMySQLDateTimeType, /*TextType*/
|
||||
ObMySQLDateTimeType, /*MediumTextType*/
|
||||
ObMySQLDateTimeType, /*LongTextType*/
|
||||
ObMySQLDateType, /* BitType */
|
||||
ObMaxType, /* EnumType */
|
||||
ObMaxType, /* SetType */
|
||||
ObMaxType, /*EnumInnerType*/
|
||||
ObMaxType, /*SetInnerType*/
|
||||
ObTimestampTZType, /* ObTimestampTZType */
|
||||
ObTimestampLTZType, /* ObTimestampLTZType */
|
||||
ObTimestampNanoType, /* ObTimestampNanoType */
|
||||
ObRawType, /* ObRawType */
|
||||
ObIntervalYMType, /* ObIntervalYMType */
|
||||
ObIntervalDSType, /* ObIntervalDSType */
|
||||
ObMySQLDateType, /* ObNumberFloatType */
|
||||
ObMySQLDateTimeType, /* ObNVarchar2Type */
|
||||
ObMySQLDateTimeType, /* ObNCharType */
|
||||
ObMaxType, /* ObURowIDType */
|
||||
ObMaxType, /* ObLobType */
|
||||
ObJsonType, /* ObJsonType */
|
||||
ObMaxType, /* ObGeometryType */
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObMySQLDateType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMySQLDateType, /* ObMySQLDateType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*MySQLDateTimeType*/
|
||||
{
|
||||
ObMaxType, /* NullType */
|
||||
ObMySQLDateTimeType, /* TinyIntType */
|
||||
ObMySQLDateTimeType, /* SmallIntType */
|
||||
ObMySQLDateTimeType, /* MediumIntType */
|
||||
ObMySQLDateTimeType, /* Int32Type */
|
||||
ObMySQLDateTimeType, /* IntType */
|
||||
ObMySQLDateTimeType, /* UTinyIntType */
|
||||
ObMySQLDateTimeType, /* USmallIntType */
|
||||
ObMySQLDateTimeType, /* UMediumIntType */
|
||||
ObMySQLDateTimeType, /* UInt32Type */
|
||||
ObMySQLDateTimeType, /* UIntType */
|
||||
ObMySQLDateTimeType, /* FloatType */
|
||||
ObMySQLDateTimeType, /* DoubleType */
|
||||
ObMySQLDateTimeType, /* UFloatType */
|
||||
ObMySQLDateTimeType, /* UDoubleType */
|
||||
ObMySQLDateTimeType, /* NumberType */
|
||||
ObMySQLDateTimeType, /* UNumberType */
|
||||
ObMySQLDateTimeType, /* DateTimeType */
|
||||
ObMySQLDateTimeType, /* TimestampType */
|
||||
ObMySQLDateTimeType, /* DateType */
|
||||
ObMySQLDateTimeType, /* TimeType */
|
||||
ObVarcharType, /* YearType */
|
||||
ObMySQLDateTimeType, /* VarcharType */
|
||||
ObMySQLDateTimeType, /* CharType */
|
||||
ObMySQLDateTimeType, /* HexStringType */
|
||||
ObMaxType, /* ExtendType */
|
||||
ObMaxType, /* UnknownType */
|
||||
ObMySQLDateTimeType, /*TinyTextType*/
|
||||
ObMySQLDateTimeType, /*TextType*/
|
||||
ObMySQLDateTimeType, /*MediumTextType*/
|
||||
ObMySQLDateTimeType, /*LongTextType*/
|
||||
ObMySQLDateTimeType, /*BitType*/
|
||||
ObMaxType, /*EnumType*/
|
||||
ObMaxType, /*SetType*/
|
||||
ObMaxType, /*EnumInnerType*/
|
||||
ObMaxType, /*SetInnerType*/
|
||||
ObTimestampTZType, /* ObTimestampTZType */
|
||||
ObTimestampLTZType, /* ObTimestampLTZType */
|
||||
ObTimestampNanoType, /* ObTimestampNanoType */
|
||||
ObRawType, /* ObRawType */
|
||||
ObIntervalYMType, /* ObIntervalYMType */
|
||||
ObIntervalDSType, /* ObIntervalDSType */
|
||||
ObMySQLDateTimeType, /* ObNumberFloatType */
|
||||
ObMySQLDateTimeType, /* ObNVarchar2Type */
|
||||
ObMySQLDateTimeType, /* ObNCharType */
|
||||
ObMaxType, /* ObURowIDType */
|
||||
ObMaxType, /* ObLobType */
|
||||
ObJsonType, /* ObJsonType */
|
||||
ObMaxType, /* ObGeometryType */
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObMySQLDateTimeType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
};
|
||||
|
||||
static_assert(is_array_fully_initialized(RELATIONAL_EQUAL_TYPE, ObMaxType), "RELATIONAL_EQUAL_TYPE is partially initlized");
|
||||
|
@ -54,6 +54,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObMySQLDateType, /* ObMySQLDateType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*TinyIntType*/
|
||||
{
|
||||
@ -109,6 +111,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObInt32Type, /* ObMySQLDateType */
|
||||
ObIntType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*SmallIntType*/
|
||||
@ -165,6 +169,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObInt32Type, /* ObMySQLDateType */
|
||||
ObIntType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*MediumIntType*/
|
||||
@ -221,6 +227,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObInt32Type, /* ObMySQLDateType */
|
||||
ObIntType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*Int32Type*/
|
||||
@ -277,6 +285,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObInt32Type, /* ObMySQLDateType */
|
||||
ObIntType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*IntType*/
|
||||
@ -333,6 +343,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObIntType, /* ObMySQLDateType */
|
||||
ObIntType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*UTinyIntType*/
|
||||
@ -389,6 +401,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObInt32Type, /* ObMySQLDateType */
|
||||
ObIntType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*USmallIntType*/
|
||||
@ -445,6 +459,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObInt32Type, /* ObMySQLDateType */
|
||||
ObIntType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*UMediumIntType*/
|
||||
@ -501,6 +517,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObInt32Type, /* ObMySQLDateType */
|
||||
ObIntType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*UInt32Type*/
|
||||
@ -557,6 +575,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObInt32Type, /* ObMySQLDateType */
|
||||
ObIntType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*UIntType*/
|
||||
@ -613,6 +633,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObIntType, /* ObMySQLDateType */
|
||||
ObIntType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*FloatType*/
|
||||
@ -669,6 +691,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*DoubleType*/
|
||||
@ -725,6 +749,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*UFloatType*/
|
||||
@ -781,6 +807,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*UDoubleType*/
|
||||
@ -837,6 +865,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*NumberType*/
|
||||
@ -893,6 +923,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*UNumberType*/
|
||||
@ -949,6 +981,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*DateTimeType*/
|
||||
@ -1005,6 +1039,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObMySQLDateTimeType, /* ObMySQLDateType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*TimestampType*/
|
||||
@ -1061,6 +1097,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObMySQLDateTimeType, /* ObMySQLDateType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*DateType*/
|
||||
@ -1117,6 +1155,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObMySQLDateType, /* ObMySQLDateType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*TimeType*/
|
||||
@ -1173,6 +1213,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObMySQLDateTimeType, /* ObMySQLDateType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*YearType*/
|
||||
@ -1229,6 +1271,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObInt32Type, /* ObMySQLDateType */
|
||||
ObIntType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*VarcharType*/
|
||||
@ -1285,6 +1329,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObVarcharType, /* ObMySQLDateType */
|
||||
ObVarcharType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*CharType*/
|
||||
@ -1341,6 +1387,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObVarcharType, /* ObMySQLDateType */
|
||||
ObVarcharType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*HexStringType*/
|
||||
@ -1397,6 +1445,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObVarcharType, /* ObMySQLDateType */
|
||||
ObVarcharType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*ExtendType*/
|
||||
@ -1453,6 +1503,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*UnknownType*/
|
||||
@ -1509,6 +1561,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObVarcharType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObVarcharType, /* ObMySQLDateType */
|
||||
ObVarcharType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObTinyTextType*/
|
||||
{
|
||||
@ -1564,6 +1618,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObLongTextType, /* ObMySQLDateType */
|
||||
ObLongTextType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObTextType*/
|
||||
{
|
||||
@ -1619,6 +1675,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObLongTextType, /* ObMySQLDateType */
|
||||
ObLongTextType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObMediumTextType*/
|
||||
{
|
||||
@ -1674,6 +1732,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObLongTextType, /* ObMySQLDateType */
|
||||
ObLongTextType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObLongTextType*/
|
||||
{
|
||||
@ -1729,6 +1789,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObLongTextType, /* ObMySQLDateType */
|
||||
ObLongTextType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*BitType*/
|
||||
{
|
||||
@ -1784,6 +1846,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObInt32Type, /* ObMySQLDateType */
|
||||
ObIntType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObEnumType*/
|
||||
{
|
||||
@ -1839,6 +1903,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObVarcharType, /* ObMySQLDateType */
|
||||
ObVarcharType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObSetType*/
|
||||
{
|
||||
@ -1894,6 +1960,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObVarcharType, /* ObMySQLDateType */
|
||||
ObVarcharType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObEnumInnerType*/
|
||||
{
|
||||
@ -1949,6 +2017,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObSetInnerType*/
|
||||
{
|
||||
@ -2004,6 +2074,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObTimestampTZType*/
|
||||
{
|
||||
@ -2059,6 +2131,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObVarcharType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObTimestampTZType, /* ObMySQLDateType */
|
||||
ObTimestampTZType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObTimestampLTZType*/
|
||||
{
|
||||
@ -2114,6 +2188,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObVarcharType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObTimestampLTZType, /* ObMySQLDateType */
|
||||
ObTimestampLTZType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObTimestampNanoType*/
|
||||
{
|
||||
@ -2169,6 +2245,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObVarcharType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObTimestampNanoType, /* ObMySQLDateType */
|
||||
ObTimestampNanoType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObRawType*/
|
||||
{
|
||||
@ -2224,6 +2302,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObIntervalYMType*/
|
||||
{
|
||||
@ -2279,6 +2359,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObIntervalDSType*/
|
||||
{
|
||||
@ -2334,6 +2416,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*NumberFloatType*/
|
||||
@ -2390,6 +2474,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObVarcharType, /* ObMySQLDateType */
|
||||
ObVarcharType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*NVarchar2Type*/
|
||||
{
|
||||
@ -2445,6 +2531,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObNVarchar2Type, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObNVarchar2Type, /* ObMySQLDateType */
|
||||
ObNVarchar2Type, /* ObMySQLDateTimeType */
|
||||
},
|
||||
|
||||
/*NCharType*/
|
||||
@ -2501,6 +2589,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObNCharType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObNCharType, /* ObMySQLDateType */
|
||||
ObNCharType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObURowIDType*/
|
||||
{
|
||||
@ -2556,6 +2646,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObLobType*/
|
||||
{
|
||||
@ -2611,6 +2703,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObJsonType*/
|
||||
{
|
||||
@ -2666,6 +2760,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDoubleType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObVarcharType, /* ObMySQLDateType */
|
||||
ObVarcharType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObGeometryType*/
|
||||
{
|
||||
@ -2721,6 +2817,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObUserDefinedSQLType*/
|
||||
{
|
||||
@ -2776,6 +2874,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObDecimalIntType*/
|
||||
{
|
||||
@ -2831,6 +2931,8 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* UDT */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObDecimalIntType, /* ObMySQLDateType */
|
||||
ObDecimalIntType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*ObCollectionSQLType*/
|
||||
{
|
||||
@ -2886,6 +2988,122 @@ static constexpr ObObjType RELATIONAL_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType*/
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObMaxType, /* ObMySQLDateType */
|
||||
ObMaxType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*MySQLDateType*/
|
||||
{
|
||||
ObMySQLDateType, /* NullType */
|
||||
ObInt32Type, /* TinyIntType */
|
||||
ObInt32Type, /* SmallIntType */
|
||||
ObInt32Type, /* MediumIntType */
|
||||
ObInt32Type, /* Int32Type */
|
||||
ObIntType, /* IntType */
|
||||
ObInt32Type, /* UTinyIntType */
|
||||
ObInt32Type, /* USmallIntType */
|
||||
ObInt32Type, /* UMediumIntType */
|
||||
ObInt32Type, /* UInt32Type */
|
||||
ObIntType, /* UIntType */
|
||||
ObDoubleType, /* FloatType */
|
||||
ObDoubleType, /* DoubleType */
|
||||
ObDoubleType, /* UFloatType */
|
||||
ObDoubleType, /* UDoubleType */
|
||||
ObNumberType, /* NumberType */
|
||||
ObNumberType, /* UNumberType */
|
||||
ObMySQLDateTimeType, /* DateTimeType */
|
||||
ObMySQLDateTimeType, /* TimestampType */
|
||||
ObMySQLDateType, /* DateType */
|
||||
ObMySQLDateTimeType, /* TimeType */
|
||||
ObInt32Type, /* YearType */
|
||||
ObVarcharType, /* VarcharType */
|
||||
ObVarcharType, /* CharType */
|
||||
ObVarcharType, /* HexStringType */
|
||||
ObMaxType, /* ExtendType */
|
||||
ObVarcharType, /* UnknownType */
|
||||
ObLongTextType, /* ObTinyTextType */
|
||||
ObLongTextType, /* ObTextType */
|
||||
ObLongTextType, /* ObMediumTextType */
|
||||
ObLongTextType, /* ObLongTextType */
|
||||
ObInt32Type, /* ObBitType */
|
||||
ObVarcharType, /* ObEnumType */
|
||||
ObVarcharType, /* ObSetType */
|
||||
ObMaxType, /* ObEnumInnerType */
|
||||
ObMaxType, /* ObSetInnerType */
|
||||
ObTimestampTZType, /* ObTimestampTZType */
|
||||
ObTimestampLTZType, /* ObTimestampLTZType */
|
||||
ObTimestampNanoType, /* ObTimestampNanoType */
|
||||
ObMaxType, /* ObRawType */
|
||||
ObMaxType, /* ObIntervalYMType */
|
||||
ObMaxType, /* ObIntervalDSType */
|
||||
ObVarcharType, /* ObNumberFloatType */
|
||||
ObNVarchar2Type, /* ObNVarchar2Type */
|
||||
ObNCharType, /* ObNCharType */
|
||||
ObMaxType, /* ObURowIDType */
|
||||
ObMaxType, /* ObLobType */
|
||||
ObVarcharType, /* ObJsonType */
|
||||
ObMaxType, /* ObGeometryType */
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObMySQLDateType, /* ObMySQLDateType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
/*MySQLDateTimeType*/
|
||||
{
|
||||
ObMySQLDateTimeType, /* NullType */
|
||||
ObIntType, /* TinyIntType */
|
||||
ObIntType, /* SmallIntType */
|
||||
ObIntType, /* MediumIntType */
|
||||
ObIntType, /* Int32Type */
|
||||
ObIntType, /* IntType */
|
||||
ObIntType, /* UTinyIntType */
|
||||
ObIntType, /* USmallIntType */
|
||||
ObIntType, /* UMediumIntType */
|
||||
ObIntType, /* UInt32Type */
|
||||
ObIntType, /* UIntType */
|
||||
ObDoubleType, /* FloatType */
|
||||
ObDoubleType, /* DoubleType */
|
||||
ObDoubleType, /* UFloatType */
|
||||
ObDoubleType, /* UDoubleType */
|
||||
ObNumberType, /* NumberType */
|
||||
ObNumberType, /* UNumberType */
|
||||
ObMySQLDateTimeType, /* DateTimeType */
|
||||
ObMySQLDateTimeType, /* TimestampType */
|
||||
ObMySQLDateTimeType, /* DateType */
|
||||
ObMySQLDateTimeType, /* TimeType */
|
||||
ObIntType, /* YearType */
|
||||
ObVarcharType, /* VarcharType */
|
||||
ObVarcharType, /* CharType */
|
||||
ObVarcharType, /* HexStringType */
|
||||
ObMaxType, /* ExtendType */
|
||||
ObVarcharType, /* UnknownType */
|
||||
ObLongTextType, /* ObTinyTextType */
|
||||
ObLongTextType, /* ObTextType */
|
||||
ObLongTextType, /* ObMediumTextType */
|
||||
ObLongTextType, /* ObLongTextType */
|
||||
ObIntType, /* ObBitType */
|
||||
ObVarcharType, /* ObEnumType */
|
||||
ObVarcharType, /* ObSetType */
|
||||
ObMaxType, /* ObEnumInnerType */
|
||||
ObMaxType, /* ObSetInnerType */
|
||||
ObTimestampTZType, /* ObTimestampTZType */
|
||||
ObTimestampLTZType, /* ObTimestampLTZType */
|
||||
ObTimestampNanoType, /* ObTimestampNanoType */
|
||||
ObMaxType, /* ObRawType */
|
||||
ObMaxType, /* ObIntervalYMType */
|
||||
ObMaxType, /* ObIntervalDSType */
|
||||
ObVarcharType, /* ObNumberFloatType */
|
||||
ObNVarchar2Type, /* ObNVarchar2Type */
|
||||
ObNCharType, /* ObNCharType */
|
||||
ObMaxType, /* ObURowIDType */
|
||||
ObMaxType, /* ObLobType */
|
||||
ObVarcharType, /* ObJsonType */
|
||||
ObMaxType, /* ObGeometryType */
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType*/
|
||||
ObMySQLDateTimeType, /* ObMySQLDateType */
|
||||
ObMySQLDateTimeType, /* ObMySQLDateTimeType */
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -52,6 +52,8 @@ static constexpr ObObjType ROUND_RESULT_TYPE[ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObDoubleType, /* ObMySQLDateType */
|
||||
ObDoubleType, /* ObMySQLDateTimeType */
|
||||
};
|
||||
|
||||
static_assert(is_array_fully_initialized(ROUND_RESULT_TYPE), "ROUND_RESULT_TYPE is partially initlized");
|
@ -52,6 +52,8 @@ static constexpr ObObjType SUM_RESULT_TYPE[ObMaxType] =
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObMaxType, /* ObDecimalIntType */
|
||||
ObMaxType, /* ObCollectionSQLType */
|
||||
ObNumberType, /* ObMySQLDateType */
|
||||
ObNumberType, /* ObMySQLDateTimeType */
|
||||
};
|
||||
|
||||
static_assert(is_array_fully_initialized(SUM_RESULT_TYPE), "SUM_RESULT_TYPE is partially initlized");
|
@ -120,6 +120,8 @@ const static double comparison_params_normal[ObMaxTC+1] = {
|
||||
NORMAL_CMP_CHAR_COST, // user defined type
|
||||
NORMAL_CMP_NUMBER_COST, // ObDecimalIntTC
|
||||
NORMAL_CMP_CHAR_COST, // collection sql type
|
||||
NORMAL_CMP_INT_COST, // mysql date
|
||||
NORMAL_CMP_INT_COST, // mysql datetime
|
||||
};
|
||||
|
||||
const static double hash_params_normal[ObMaxTC+1] = {
|
||||
@ -150,6 +152,8 @@ const static double hash_params_normal[ObMaxTC+1] = {
|
||||
NORMAL_HASH_CHAR_COST, // user defined type
|
||||
NORMAL_HASH_NUMBER_COST, // ObDecimalIntTC
|
||||
NORMAL_HASH_CHAR_COST, // collection sql type
|
||||
NORMAL_HASH_INT_COST, // mysql date
|
||||
NORMAL_HASH_INT_COST, // mysql datetime
|
||||
};
|
||||
|
||||
const static double project_params_normal[2][2][MAX_PROJECT_TYPE] = {
|
||||
|
@ -120,6 +120,8 @@ OB_INLINE ObObjTypeStoreClass *get_store_class_map()
|
||||
ObStringSC, // ObUserDefinedSQLTC, UDT null_bitmaps
|
||||
ObDecimalIntSC, // ObDecimalIntTC
|
||||
ObTextSC, // ObCollectionSQLTC
|
||||
ObIntSC, // ObMySQLDateTC
|
||||
ObIntSC, // ObMySQLDateTimeTc
|
||||
ObMaxSC // ObMaxTC
|
||||
};
|
||||
STATIC_ASSERT(ARRAYSIZEOF(store_class_map) == common::ObMaxTC + 1,
|
||||
@ -182,6 +184,8 @@ OB_INLINE int64_t *get_type_size_map()
|
||||
-1, //ObUserDefinedSQLType
|
||||
-1, //ObDecimalIntType
|
||||
-1, //ObCollectionSQLType
|
||||
4, // ObMySQLDateType
|
||||
8, // ObMySQLDateTimeType
|
||||
-1 // ObMaxType
|
||||
};
|
||||
STATIC_ASSERT(ARRAYSIZEOF(type_size_map) == common::ObMaxType + 1,
|
||||
@ -245,6 +249,8 @@ OB_INLINE int64_t *get_estimate_base_store_size_map()
|
||||
8, // ObUserDefinedSQLType
|
||||
8, // ObDecimalIntType
|
||||
8, // ObCollectionSQLType
|
||||
8, // ObMySQLDateType
|
||||
8, // ObMySQLDateTimeType
|
||||
-1 // ObMaxType
|
||||
};
|
||||
STATIC_ASSERT(ARRAYSIZEOF(estimate_base_store_size_map) == common::ObMaxType + 1,
|
||||
|
@ -53,6 +53,8 @@ data_type data_type_str data_type_class
|
||||
49 UDT 24
|
||||
50 DECIMAL_INT 25
|
||||
51 COLLECTION 26
|
||||
52 MYSQL_DATE 27
|
||||
53 MYSQL_DATETIME 28
|
||||
select data_type, data_type_str, data_type_class from __all_virtual_data_type order by data_type;
|
||||
data_type data_type_str data_type_class
|
||||
0 NULL 0
|
||||
@ -107,6 +109,8 @@ data_type data_type_str data_type_class
|
||||
49 UDT 24
|
||||
50 DECIMAL_INT 25
|
||||
51 COLLECTION 26
|
||||
52 MYSQL_DATE 27
|
||||
53 MYSQL_DATETIME 28
|
||||
select * from __all_virtual_data_type where data_type = 22;
|
||||
data_type data_type_str data_type_class
|
||||
22 VARCHAR 10
|
||||
@ -162,6 +166,8 @@ GEOMETRY GEOMETRY
|
||||
UDT UDT
|
||||
DECIMAL_INT DECIMAL_INT
|
||||
COLLECTION COLLECTION
|
||||
MYSQL_DATE MYSQL_DATE
|
||||
MYSQL_DATETIME MYSQL_DATETIME
|
||||
show create table __all_virtual_data_type;
|
||||
Table Create Table
|
||||
__all_virtual_data_type CREATE TABLE `__all_virtual_data_type` (
|
||||
|
@ -27,6 +27,8 @@ data_type_class data_type_class_str
|
||||
24 UDT
|
||||
25 DECIMAL_INT
|
||||
26 COLLECTION
|
||||
27 MYSQL_DATE
|
||||
28 MYSQL_DATETIME
|
||||
select data_type_class, data_type_class_str from __all_virtual_data_type_class;
|
||||
data_type_class data_type_class_str
|
||||
0 NULL
|
||||
@ -55,6 +57,8 @@ data_type_class data_type_class_str
|
||||
24 UDT
|
||||
25 DECIMAL_INT
|
||||
26 COLLECTION
|
||||
27 MYSQL_DATE
|
||||
28 MYSQL_DATETIME
|
||||
select * from __all_virtual_data_type_class where data_type_class = 10;
|
||||
data_type_class data_type_class_str
|
||||
10 STRING
|
||||
@ -110,6 +114,8 @@ GEOMETRY GEOMETRY
|
||||
UDT UDT
|
||||
DECIMAL_INT DECIMAL_INT
|
||||
COLLECTION COLLECTION
|
||||
MYSQL_DATE MYSQL_DATE
|
||||
MYSQL_DATETIME MYSQL_DATETIME
|
||||
show create table __all_virtual_data_type_class;
|
||||
Table Create Table
|
||||
__all_virtual_data_type_class CREATE TABLE `__all_virtual_data_type_class` (
|
||||
|
@ -52,6 +52,8 @@
|
||||
<NULL, UDT> : not defined
|
||||
<NULL, DECIMAL_INT> : defined
|
||||
<NULL, COLLECTION> : defined
|
||||
<NULL, MYSQL_DATE> : defined
|
||||
<NULL, MYSQL_DATETIME> : defined
|
||||
|
||||
/**************** TINYINT ****************/
|
||||
|
||||
@ -107,6 +109,8 @@
|
||||
<TINYINT, UDT> : not defined
|
||||
<TINYINT, DECIMAL_INT> : not defined
|
||||
<TINYINT, COLLECTION> : not defined
|
||||
<TINYINT, MYSQL_DATE> : not defined
|
||||
<TINYINT, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** SMALLINT ****************/
|
||||
|
||||
@ -162,6 +166,8 @@
|
||||
<SMALLINT, UDT> : not defined
|
||||
<SMALLINT, DECIMAL_INT> : not defined
|
||||
<SMALLINT, COLLECTION> : not defined
|
||||
<SMALLINT, MYSQL_DATE> : not defined
|
||||
<SMALLINT, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** MEDIUMINT ****************/
|
||||
|
||||
@ -217,6 +223,8 @@
|
||||
<MEDIUMINT, UDT> : not defined
|
||||
<MEDIUMINT, DECIMAL_INT> : not defined
|
||||
<MEDIUMINT, COLLECTION> : not defined
|
||||
<MEDIUMINT, MYSQL_DATE> : not defined
|
||||
<MEDIUMINT, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** INT ****************/
|
||||
|
||||
@ -272,6 +280,8 @@
|
||||
<INT, UDT> : not defined
|
||||
<INT, DECIMAL_INT> : not defined
|
||||
<INT, COLLECTION> : not defined
|
||||
<INT, MYSQL_DATE> : not defined
|
||||
<INT, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** BIGINT ****************/
|
||||
|
||||
@ -327,6 +337,8 @@
|
||||
<BIGINT, UDT> : not defined
|
||||
<BIGINT, DECIMAL_INT> : not defined
|
||||
<BIGINT, COLLECTION> : not defined
|
||||
<BIGINT, MYSQL_DATE> : not defined
|
||||
<BIGINT, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** TINYINT UNSIGNED ****************/
|
||||
|
||||
@ -382,6 +394,8 @@
|
||||
<TINYINT UNSIGNED, UDT> : not defined
|
||||
<TINYINT UNSIGNED, DECIMAL_INT> : not defined
|
||||
<TINYINT UNSIGNED, COLLECTION> : not defined
|
||||
<TINYINT UNSIGNED, MYSQL_DATE> : not defined
|
||||
<TINYINT UNSIGNED, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** SMALLINT UNSIGNED ****************/
|
||||
|
||||
@ -437,6 +451,8 @@
|
||||
<SMALLINT UNSIGNED, UDT> : not defined
|
||||
<SMALLINT UNSIGNED, DECIMAL_INT> : not defined
|
||||
<SMALLINT UNSIGNED, COLLECTION> : not defined
|
||||
<SMALLINT UNSIGNED, MYSQL_DATE> : not defined
|
||||
<SMALLINT UNSIGNED, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** MEDIUMINT UNSIGNED ****************/
|
||||
|
||||
@ -492,6 +508,8 @@
|
||||
<MEDIUMINT UNSIGNED, UDT> : not defined
|
||||
<MEDIUMINT UNSIGNED, DECIMAL_INT> : not defined
|
||||
<MEDIUMINT UNSIGNED, COLLECTION> : not defined
|
||||
<MEDIUMINT UNSIGNED, MYSQL_DATE> : not defined
|
||||
<MEDIUMINT UNSIGNED, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** INT UNSIGNED ****************/
|
||||
|
||||
@ -547,6 +565,8 @@
|
||||
<INT UNSIGNED, UDT> : not defined
|
||||
<INT UNSIGNED, DECIMAL_INT> : not defined
|
||||
<INT UNSIGNED, COLLECTION> : not defined
|
||||
<INT UNSIGNED, MYSQL_DATE> : not defined
|
||||
<INT UNSIGNED, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** BIGINT UNSIGNED ****************/
|
||||
|
||||
@ -602,6 +622,8 @@
|
||||
<BIGINT UNSIGNED, UDT> : not defined
|
||||
<BIGINT UNSIGNED, DECIMAL_INT> : not defined
|
||||
<BIGINT UNSIGNED, COLLECTION> : not defined
|
||||
<BIGINT UNSIGNED, MYSQL_DATE> : not defined
|
||||
<BIGINT UNSIGNED, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** FLOAT ****************/
|
||||
|
||||
@ -657,6 +679,8 @@
|
||||
<FLOAT, UDT> : not defined
|
||||
<FLOAT, DECIMAL_INT> : not defined
|
||||
<FLOAT, COLLECTION> : not defined
|
||||
<FLOAT, MYSQL_DATE> : not defined
|
||||
<FLOAT, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** DOUBLE ****************/
|
||||
|
||||
@ -712,6 +736,8 @@
|
||||
<DOUBLE, UDT> : not defined
|
||||
<DOUBLE, DECIMAL_INT> : not defined
|
||||
<DOUBLE, COLLECTION> : not defined
|
||||
<DOUBLE, MYSQL_DATE> : not defined
|
||||
<DOUBLE, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** FLOAT UNSIGNED ****************/
|
||||
|
||||
@ -767,6 +793,8 @@
|
||||
<FLOAT UNSIGNED, UDT> : not defined
|
||||
<FLOAT UNSIGNED, DECIMAL_INT> : not defined
|
||||
<FLOAT UNSIGNED, COLLECTION> : not defined
|
||||
<FLOAT UNSIGNED, MYSQL_DATE> : not defined
|
||||
<FLOAT UNSIGNED, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** DOUBLE UNSIGNED ****************/
|
||||
|
||||
@ -822,6 +850,8 @@
|
||||
<DOUBLE UNSIGNED, UDT> : not defined
|
||||
<DOUBLE UNSIGNED, DECIMAL_INT> : not defined
|
||||
<DOUBLE UNSIGNED, COLLECTION> : not defined
|
||||
<DOUBLE UNSIGNED, MYSQL_DATE> : not defined
|
||||
<DOUBLE UNSIGNED, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** DECIMAL ****************/
|
||||
|
||||
@ -877,6 +907,8 @@
|
||||
<DECIMAL, UDT> : not defined
|
||||
<DECIMAL, DECIMAL_INT> : not defined
|
||||
<DECIMAL, COLLECTION> : not defined
|
||||
<DECIMAL, MYSQL_DATE> : not defined
|
||||
<DECIMAL, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** DECIMAL UNSIGNED ****************/
|
||||
|
||||
@ -932,6 +964,8 @@
|
||||
<DECIMAL UNSIGNED, UDT> : not defined
|
||||
<DECIMAL UNSIGNED, DECIMAL_INT> : not defined
|
||||
<DECIMAL UNSIGNED, COLLECTION> : not defined
|
||||
<DECIMAL UNSIGNED, MYSQL_DATE> : not defined
|
||||
<DECIMAL UNSIGNED, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** DATETIME ****************/
|
||||
|
||||
@ -987,6 +1021,8 @@
|
||||
<DATETIME, UDT> : not defined
|
||||
<DATETIME, DECIMAL_INT> : not defined
|
||||
<DATETIME, COLLECTION> : not defined
|
||||
<DATETIME, MYSQL_DATE> : not defined
|
||||
<DATETIME, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** TIMESTAMP ****************/
|
||||
|
||||
@ -1042,6 +1078,8 @@
|
||||
<TIMESTAMP, UDT> : not defined
|
||||
<TIMESTAMP, DECIMAL_INT> : not defined
|
||||
<TIMESTAMP, COLLECTION> : not defined
|
||||
<TIMESTAMP, MYSQL_DATE> : not defined
|
||||
<TIMESTAMP, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** DATE ****************/
|
||||
|
||||
@ -1097,6 +1135,8 @@
|
||||
<DATE, UDT> : not defined
|
||||
<DATE, DECIMAL_INT> : not defined
|
||||
<DATE, COLLECTION> : not defined
|
||||
<DATE, MYSQL_DATE> : not defined
|
||||
<DATE, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** TIME ****************/
|
||||
|
||||
@ -1152,6 +1192,8 @@
|
||||
<TIME, UDT> : not defined
|
||||
<TIME, DECIMAL_INT> : not defined
|
||||
<TIME, COLLECTION> : not defined
|
||||
<TIME, MYSQL_DATE> : not defined
|
||||
<TIME, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** YEAR ****************/
|
||||
|
||||
@ -1207,6 +1249,8 @@
|
||||
<YEAR, UDT> : not defined
|
||||
<YEAR, DECIMAL_INT> : not defined
|
||||
<YEAR, COLLECTION> : not defined
|
||||
<YEAR, MYSQL_DATE> : not defined
|
||||
<YEAR, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** VARCHAR ****************/
|
||||
|
||||
@ -1262,6 +1306,8 @@
|
||||
<VARCHAR, UDT> : not defined
|
||||
<VARCHAR, DECIMAL_INT> : not defined
|
||||
<VARCHAR, COLLECTION> : not defined
|
||||
<VARCHAR, MYSQL_DATE> : not defined
|
||||
<VARCHAR, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** CHAR ****************/
|
||||
|
||||
@ -1317,6 +1363,8 @@
|
||||
<CHAR, UDT> : not defined
|
||||
<CHAR, DECIMAL_INT> : not defined
|
||||
<CHAR, COLLECTION> : not defined
|
||||
<CHAR, MYSQL_DATE> : not defined
|
||||
<CHAR, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** HEX_STRING ****************/
|
||||
|
||||
@ -1372,6 +1420,8 @@
|
||||
<HEX_STRING, UDT> : not defined
|
||||
<HEX_STRING, DECIMAL_INT> : not defined
|
||||
<HEX_STRING, COLLECTION> : not defined
|
||||
<HEX_STRING, MYSQL_DATE> : not defined
|
||||
<HEX_STRING, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** EXT ****************/
|
||||
|
||||
@ -1427,6 +1477,8 @@
|
||||
<EXT, UDT> : not defined
|
||||
<EXT, DECIMAL_INT> : defined
|
||||
<EXT, COLLECTION> : defined
|
||||
<EXT, MYSQL_DATE> : defined
|
||||
<EXT, MYSQL_DATETIME> : defined
|
||||
|
||||
/**************** UNKNOWN ****************/
|
||||
|
||||
@ -1482,6 +1534,8 @@
|
||||
<UNKNOWN, UDT> : not defined
|
||||
<UNKNOWN, DECIMAL_INT> : not defined
|
||||
<UNKNOWN, COLLECTION> : not defined
|
||||
<UNKNOWN, MYSQL_DATE> : not defined
|
||||
<UNKNOWN, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** TINYTEXT ****************/
|
||||
|
||||
@ -1537,6 +1591,8 @@
|
||||
<TINYTEXT, UDT> : not defined
|
||||
<TINYTEXT, DECIMAL_INT> : not defined
|
||||
<TINYTEXT, COLLECTION> : not defined
|
||||
<TINYTEXT, MYSQL_DATE> : not defined
|
||||
<TINYTEXT, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** TEXT ****************/
|
||||
|
||||
@ -1592,6 +1648,8 @@
|
||||
<TEXT, UDT> : not defined
|
||||
<TEXT, DECIMAL_INT> : not defined
|
||||
<TEXT, COLLECTION> : not defined
|
||||
<TEXT, MYSQL_DATE> : not defined
|
||||
<TEXT, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** MEDIUMTEXT ****************/
|
||||
|
||||
@ -1647,6 +1705,8 @@
|
||||
<MEDIUMTEXT, UDT> : not defined
|
||||
<MEDIUMTEXT, DECIMAL_INT> : not defined
|
||||
<MEDIUMTEXT, COLLECTION> : not defined
|
||||
<MEDIUMTEXT, MYSQL_DATE> : not defined
|
||||
<MEDIUMTEXT, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** LONGTEXT ****************/
|
||||
|
||||
@ -1702,6 +1762,8 @@
|
||||
<LONGTEXT, UDT> : not defined
|
||||
<LONGTEXT, DECIMAL_INT> : not defined
|
||||
<LONGTEXT, COLLECTION> : not defined
|
||||
<LONGTEXT, MYSQL_DATE> : not defined
|
||||
<LONGTEXT, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** BIT ****************/
|
||||
|
||||
@ -1757,6 +1819,8 @@
|
||||
<BIT, UDT> : not defined
|
||||
<BIT, DECIMAL_INT> : not defined
|
||||
<BIT, COLLECTION> : not defined
|
||||
<BIT, MYSQL_DATE> : not defined
|
||||
<BIT, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** ENUM ****************/
|
||||
|
||||
@ -1812,6 +1876,8 @@
|
||||
<ENUM, UDT> : not defined
|
||||
<ENUM, DECIMAL_INT> : not defined
|
||||
<ENUM, COLLECTION> : not defined
|
||||
<ENUM, MYSQL_DATE> : not defined
|
||||
<ENUM, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** SET ****************/
|
||||
|
||||
@ -1867,6 +1933,8 @@
|
||||
<SET, UDT> : not defined
|
||||
<SET, DECIMAL_INT> : not defined
|
||||
<SET, COLLECTION> : not defined
|
||||
<SET, MYSQL_DATE> : not defined
|
||||
<SET, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** ENUM_INNER ****************/
|
||||
|
||||
@ -1922,6 +1990,8 @@
|
||||
<ENUM_INNER, UDT> : not defined
|
||||
<ENUM_INNER, DECIMAL_INT> : not defined
|
||||
<ENUM_INNER, COLLECTION> : not defined
|
||||
<ENUM_INNER, MYSQL_DATE> : not defined
|
||||
<ENUM_INNER, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** SET_INNER ****************/
|
||||
|
||||
@ -1977,6 +2047,8 @@
|
||||
<SET_INNER, UDT> : not defined
|
||||
<SET_INNER, DECIMAL_INT> : not defined
|
||||
<SET_INNER, COLLECTION> : not defined
|
||||
<SET_INNER, MYSQL_DATE> : not defined
|
||||
<SET_INNER, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** TIMESTAMP_WITH_TIME_ZONE ****************/
|
||||
|
||||
@ -2032,6 +2104,8 @@
|
||||
<TIMESTAMP_WITH_TIME_ZONE, UDT> : not defined
|
||||
<TIMESTAMP_WITH_TIME_ZONE, DECIMAL_INT> : not defined
|
||||
<TIMESTAMP_WITH_TIME_ZONE, COLLECTION> : not defined
|
||||
<TIMESTAMP_WITH_TIME_ZONE, MYSQL_DATE> : not defined
|
||||
<TIMESTAMP_WITH_TIME_ZONE, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** TIMESTAMP_WITH_LOCAL_TIME_ZONE ****************/
|
||||
|
||||
@ -2087,6 +2161,8 @@
|
||||
<TIMESTAMP_WITH_LOCAL_TIME_ZONE, UDT> : not defined
|
||||
<TIMESTAMP_WITH_LOCAL_TIME_ZONE, DECIMAL_INT> : not defined
|
||||
<TIMESTAMP_WITH_LOCAL_TIME_ZONE, COLLECTION> : not defined
|
||||
<TIMESTAMP_WITH_LOCAL_TIME_ZONE, MYSQL_DATE> : not defined
|
||||
<TIMESTAMP_WITH_LOCAL_TIME_ZONE, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** TIMESTAMP ****************/
|
||||
|
||||
@ -2142,6 +2218,8 @@
|
||||
<TIMESTAMP, UDT> : not defined
|
||||
<TIMESTAMP, DECIMAL_INT> : not defined
|
||||
<TIMESTAMP, COLLECTION> : not defined
|
||||
<TIMESTAMP, MYSQL_DATE> : not defined
|
||||
<TIMESTAMP, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** RAW ****************/
|
||||
|
||||
@ -2197,6 +2275,8 @@
|
||||
<RAW, UDT> : not defined
|
||||
<RAW, DECIMAL_INT> : not defined
|
||||
<RAW, COLLECTION> : not defined
|
||||
<RAW, MYSQL_DATE> : not defined
|
||||
<RAW, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** INTERVAL_YEAR_TO_MONTH ****************/
|
||||
|
||||
@ -2252,6 +2332,8 @@
|
||||
<INTERVAL_YEAR_TO_MONTH, UDT> : not defined
|
||||
<INTERVAL_YEAR_TO_MONTH, DECIMAL_INT> : not defined
|
||||
<INTERVAL_YEAR_TO_MONTH, COLLECTION> : not defined
|
||||
<INTERVAL_YEAR_TO_MONTH, MYSQL_DATE> : not defined
|
||||
<INTERVAL_YEAR_TO_MONTH, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** INTERVAL_DAY_TO_SECOND ****************/
|
||||
|
||||
@ -2307,6 +2389,8 @@
|
||||
<INTERVAL_DAY_TO_SECOND, UDT> : not defined
|
||||
<INTERVAL_DAY_TO_SECOND, DECIMAL_INT> : not defined
|
||||
<INTERVAL_DAY_TO_SECOND, COLLECTION> : not defined
|
||||
<INTERVAL_DAY_TO_SECOND, MYSQL_DATE> : not defined
|
||||
<INTERVAL_DAY_TO_SECOND, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** NUMBER_FLOAT ****************/
|
||||
|
||||
@ -2362,6 +2446,8 @@
|
||||
<NUMBER_FLOAT, UDT> : not defined
|
||||
<NUMBER_FLOAT, DECIMAL_INT> : not defined
|
||||
<NUMBER_FLOAT, COLLECTION> : not defined
|
||||
<NUMBER_FLOAT, MYSQL_DATE> : not defined
|
||||
<NUMBER_FLOAT, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** NVARCHAR2 ****************/
|
||||
|
||||
@ -2417,6 +2503,8 @@
|
||||
<NVARCHAR2, UDT> : not defined
|
||||
<NVARCHAR2, DECIMAL_INT> : not defined
|
||||
<NVARCHAR2, COLLECTION> : not defined
|
||||
<NVARCHAR2, MYSQL_DATE> : not defined
|
||||
<NVARCHAR2, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** NCHAR ****************/
|
||||
|
||||
@ -2472,6 +2560,8 @@
|
||||
<NCHAR, UDT> : not defined
|
||||
<NCHAR, DECIMAL_INT> : not defined
|
||||
<NCHAR, COLLECTION> : not defined
|
||||
<NCHAR, MYSQL_DATE> : not defined
|
||||
<NCHAR, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** ROWID ****************/
|
||||
|
||||
@ -2527,6 +2617,8 @@
|
||||
<ROWID, UDT> : not defined
|
||||
<ROWID, DECIMAL_INT> : not defined
|
||||
<ROWID, COLLECTION> : not defined
|
||||
<ROWID, MYSQL_DATE> : not defined
|
||||
<ROWID, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** LOB ****************/
|
||||
|
||||
@ -2582,6 +2674,8 @@
|
||||
<LOB, UDT> : not defined
|
||||
<LOB, DECIMAL_INT> : not defined
|
||||
<LOB, COLLECTION> : not defined
|
||||
<LOB, MYSQL_DATE> : not defined
|
||||
<LOB, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** JSON ****************/
|
||||
|
||||
@ -2637,6 +2731,8 @@
|
||||
<JSON, UDT> : not defined
|
||||
<JSON, DECIMAL_INT> : not defined
|
||||
<JSON, COLLECTION> : not defined
|
||||
<JSON, MYSQL_DATE> : not defined
|
||||
<JSON, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** GEOMETRY ****************/
|
||||
|
||||
@ -2692,6 +2788,8 @@
|
||||
<GEOMETRY, UDT> : not defined
|
||||
<GEOMETRY, DECIMAL_INT> : not defined
|
||||
<GEOMETRY, COLLECTION> : not defined
|
||||
<GEOMETRY, MYSQL_DATE> : not defined
|
||||
<GEOMETRY, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** UDT ****************/
|
||||
|
||||
@ -2747,6 +2845,8 @@
|
||||
<UDT, UDT> : not defined
|
||||
<UDT, DECIMAL_INT> : not defined
|
||||
<UDT, COLLECTION> : not defined
|
||||
<UDT, MYSQL_DATE> : not defined
|
||||
<UDT, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** DECIMAL_INT ****************/
|
||||
|
||||
@ -2802,6 +2902,8 @@
|
||||
<DECIMAL_INT, UDT> : not defined
|
||||
<DECIMAL_INT, DECIMAL_INT> : defined
|
||||
<DECIMAL_INT, COLLECTION> : not defined
|
||||
<DECIMAL_INT, MYSQL_DATE> : not defined
|
||||
<DECIMAL_INT, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** COLLECTION ****************/
|
||||
|
||||
@ -2857,4 +2959,120 @@
|
||||
<COLLECTION, UDT> : not defined
|
||||
<COLLECTION, DECIMAL_INT> : not defined
|
||||
<COLLECTION, COLLECTION> : not defined
|
||||
<COLLECTION, MYSQL_DATE> : not defined
|
||||
<COLLECTION, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** MYSQL_DATE ****************/
|
||||
|
||||
<MYSQL_DATE, NULL> : defined
|
||||
<MYSQL_DATE, TINYINT> : not defined
|
||||
<MYSQL_DATE, SMALLINT> : not defined
|
||||
<MYSQL_DATE, MEDIUMINT> : not defined
|
||||
<MYSQL_DATE, INT> : not defined
|
||||
<MYSQL_DATE, BIGINT> : not defined
|
||||
<MYSQL_DATE, TINYINT UNSIGNED> : not defined
|
||||
<MYSQL_DATE, SMALLINT UNSIGNED> : not defined
|
||||
<MYSQL_DATE, MEDIUMINT UNSIGNED> : not defined
|
||||
<MYSQL_DATE, INT UNSIGNED> : not defined
|
||||
<MYSQL_DATE, BIGINT UNSIGNED> : not defined
|
||||
<MYSQL_DATE, FLOAT> : not defined
|
||||
<MYSQL_DATE, DOUBLE> : not defined
|
||||
<MYSQL_DATE, FLOAT UNSIGNED> : not defined
|
||||
<MYSQL_DATE, DOUBLE UNSIGNED> : not defined
|
||||
<MYSQL_DATE, DECIMAL> : not defined
|
||||
<MYSQL_DATE, DECIMAL UNSIGNED> : not defined
|
||||
<MYSQL_DATE, DATETIME> : not defined
|
||||
<MYSQL_DATE, TIMESTAMP> : not defined
|
||||
<MYSQL_DATE, DATE> : not defined
|
||||
<MYSQL_DATE, TIME> : not defined
|
||||
<MYSQL_DATE, YEAR> : not defined
|
||||
<MYSQL_DATE, VARCHAR> : not defined
|
||||
<MYSQL_DATE, CHAR> : not defined
|
||||
<MYSQL_DATE, HEX_STRING> : not defined
|
||||
<MYSQL_DATE, EXT> : defined
|
||||
<MYSQL_DATE, UNKNOWN> : not defined
|
||||
<MYSQL_DATE, TINYTEXT> : not defined
|
||||
<MYSQL_DATE, TEXT> : not defined
|
||||
<MYSQL_DATE, MEDIUMTEXT> : not defined
|
||||
<MYSQL_DATE, LONGTEXT> : not defined
|
||||
<MYSQL_DATE, BIT> : not defined
|
||||
<MYSQL_DATE, ENUM> : not defined
|
||||
<MYSQL_DATE, SET> : not defined
|
||||
<MYSQL_DATE, ENUM_INNER> : not defined
|
||||
<MYSQL_DATE, SET_INNER> : not defined
|
||||
<MYSQL_DATE, TIMESTAMP_WITH_TIME_ZONE> : not defined
|
||||
<MYSQL_DATE, TIMESTAMP_WITH_LOCAL_TIME_ZONE> : not defined
|
||||
<MYSQL_DATE, TIMESTAMP> : not defined
|
||||
<MYSQL_DATE, RAW> : not defined
|
||||
<MYSQL_DATE, INTERVAL_YEAR_TO_MONTH> : not defined
|
||||
<MYSQL_DATE, INTERVAL_DAY_TO_SECOND> : not defined
|
||||
<MYSQL_DATE, NUMBER_FLOAT> : not defined
|
||||
<MYSQL_DATE, NVARCHAR2> : not defined
|
||||
<MYSQL_DATE, NCHAR> : not defined
|
||||
<MYSQL_DATE, ROWID> : not defined
|
||||
<MYSQL_DATE, LOB> : not defined
|
||||
<MYSQL_DATE, JSON> : not defined
|
||||
<MYSQL_DATE, GEOMETRY> : not defined
|
||||
<MYSQL_DATE, UDT> : not defined
|
||||
<MYSQL_DATE, DECIMAL_INT> : not defined
|
||||
<MYSQL_DATE, COLLECTION> : not defined
|
||||
<MYSQL_DATE, MYSQL_DATE> : not defined
|
||||
<MYSQL_DATE, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** MYSQL_DATETIME ****************/
|
||||
|
||||
<MYSQL_DATETIME, NULL> : defined
|
||||
<MYSQL_DATETIME, TINYINT> : not defined
|
||||
<MYSQL_DATETIME, SMALLINT> : not defined
|
||||
<MYSQL_DATETIME, MEDIUMINT> : not defined
|
||||
<MYSQL_DATETIME, INT> : not defined
|
||||
<MYSQL_DATETIME, BIGINT> : not defined
|
||||
<MYSQL_DATETIME, TINYINT UNSIGNED> : not defined
|
||||
<MYSQL_DATETIME, SMALLINT UNSIGNED> : not defined
|
||||
<MYSQL_DATETIME, MEDIUMINT UNSIGNED> : not defined
|
||||
<MYSQL_DATETIME, INT UNSIGNED> : not defined
|
||||
<MYSQL_DATETIME, BIGINT UNSIGNED> : not defined
|
||||
<MYSQL_DATETIME, FLOAT> : not defined
|
||||
<MYSQL_DATETIME, DOUBLE> : not defined
|
||||
<MYSQL_DATETIME, FLOAT UNSIGNED> : not defined
|
||||
<MYSQL_DATETIME, DOUBLE UNSIGNED> : not defined
|
||||
<MYSQL_DATETIME, DECIMAL> : not defined
|
||||
<MYSQL_DATETIME, DECIMAL UNSIGNED> : not defined
|
||||
<MYSQL_DATETIME, DATETIME> : not defined
|
||||
<MYSQL_DATETIME, TIMESTAMP> : not defined
|
||||
<MYSQL_DATETIME, DATE> : not defined
|
||||
<MYSQL_DATETIME, TIME> : not defined
|
||||
<MYSQL_DATETIME, YEAR> : not defined
|
||||
<MYSQL_DATETIME, VARCHAR> : not defined
|
||||
<MYSQL_DATETIME, CHAR> : not defined
|
||||
<MYSQL_DATETIME, HEX_STRING> : not defined
|
||||
<MYSQL_DATETIME, EXT> : defined
|
||||
<MYSQL_DATETIME, UNKNOWN> : not defined
|
||||
<MYSQL_DATETIME, TINYTEXT> : not defined
|
||||
<MYSQL_DATETIME, TEXT> : not defined
|
||||
<MYSQL_DATETIME, MEDIUMTEXT> : not defined
|
||||
<MYSQL_DATETIME, LONGTEXT> : not defined
|
||||
<MYSQL_DATETIME, BIT> : not defined
|
||||
<MYSQL_DATETIME, ENUM> : not defined
|
||||
<MYSQL_DATETIME, SET> : not defined
|
||||
<MYSQL_DATETIME, ENUM_INNER> : not defined
|
||||
<MYSQL_DATETIME, SET_INNER> : not defined
|
||||
<MYSQL_DATETIME, TIMESTAMP_WITH_TIME_ZONE> : not defined
|
||||
<MYSQL_DATETIME, TIMESTAMP_WITH_LOCAL_TIME_ZONE> : not defined
|
||||
<MYSQL_DATETIME, TIMESTAMP> : not defined
|
||||
<MYSQL_DATETIME, RAW> : not defined
|
||||
<MYSQL_DATETIME, INTERVAL_YEAR_TO_MONTH> : not defined
|
||||
<MYSQL_DATETIME, INTERVAL_DAY_TO_SECOND> : not defined
|
||||
<MYSQL_DATETIME, NUMBER_FLOAT> : not defined
|
||||
<MYSQL_DATETIME, NVARCHAR2> : not defined
|
||||
<MYSQL_DATETIME, NCHAR> : not defined
|
||||
<MYSQL_DATETIME, ROWID> : not defined
|
||||
<MYSQL_DATETIME, LOB> : not defined
|
||||
<MYSQL_DATETIME, JSON> : not defined
|
||||
<MYSQL_DATETIME, GEOMETRY> : not defined
|
||||
<MYSQL_DATETIME, UDT> : not defined
|
||||
<MYSQL_DATETIME, DECIMAL_INT> : not defined
|
||||
<MYSQL_DATETIME, COLLECTION> : not defined
|
||||
<MYSQL_DATETIME, MYSQL_DATE> : not defined
|
||||
<MYSQL_DATETIME, MYSQL_DATETIME> : not defined
|
||||
|
||||
|
@ -52,6 +52,8 @@
|
||||
<NULL, UDT> : not defined
|
||||
<NULL, DECIMAL_INT> : defined
|
||||
<NULL, COLLECTION> : defined
|
||||
<NULL, MYSQL_DATE> : defined
|
||||
<NULL, MYSQL_DATETIME> : defined
|
||||
|
||||
/**************** TINYINT ****************/
|
||||
|
||||
@ -107,6 +109,8 @@
|
||||
<TINYINT, UDT> : not defined
|
||||
<TINYINT, DECIMAL_INT> : not defined
|
||||
<TINYINT, COLLECTION> : not defined
|
||||
<TINYINT, MYSQL_DATE> : not defined
|
||||
<TINYINT, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** SMALLINT ****************/
|
||||
|
||||
@ -162,6 +166,8 @@
|
||||
<SMALLINT, UDT> : not defined
|
||||
<SMALLINT, DECIMAL_INT> : not defined
|
||||
<SMALLINT, COLLECTION> : not defined
|
||||
<SMALLINT, MYSQL_DATE> : not defined
|
||||
<SMALLINT, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** MEDIUMINT ****************/
|
||||
|
||||
@ -217,6 +223,8 @@
|
||||
<MEDIUMINT, UDT> : not defined
|
||||
<MEDIUMINT, DECIMAL_INT> : not defined
|
||||
<MEDIUMINT, COLLECTION> : not defined
|
||||
<MEDIUMINT, MYSQL_DATE> : not defined
|
||||
<MEDIUMINT, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** INT ****************/
|
||||
|
||||
@ -272,6 +280,8 @@
|
||||
<INT, UDT> : not defined
|
||||
<INT, DECIMAL_INT> : not defined
|
||||
<INT, COLLECTION> : not defined
|
||||
<INT, MYSQL_DATE> : not defined
|
||||
<INT, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** BIGINT ****************/
|
||||
|
||||
@ -327,6 +337,8 @@
|
||||
<BIGINT, UDT> : not defined
|
||||
<BIGINT, DECIMAL_INT> : not defined
|
||||
<BIGINT, COLLECTION> : not defined
|
||||
<BIGINT, MYSQL_DATE> : not defined
|
||||
<BIGINT, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** TINYINT UNSIGNED ****************/
|
||||
|
||||
@ -382,6 +394,8 @@
|
||||
<TINYINT UNSIGNED, UDT> : not defined
|
||||
<TINYINT UNSIGNED, DECIMAL_INT> : not defined
|
||||
<TINYINT UNSIGNED, COLLECTION> : not defined
|
||||
<TINYINT UNSIGNED, MYSQL_DATE> : not defined
|
||||
<TINYINT UNSIGNED, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** SMALLINT UNSIGNED ****************/
|
||||
|
||||
@ -437,6 +451,8 @@
|
||||
<SMALLINT UNSIGNED, UDT> : not defined
|
||||
<SMALLINT UNSIGNED, DECIMAL_INT> : not defined
|
||||
<SMALLINT UNSIGNED, COLLECTION> : not defined
|
||||
<SMALLINT UNSIGNED, MYSQL_DATE> : not defined
|
||||
<SMALLINT UNSIGNED, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** MEDIUMINT UNSIGNED ****************/
|
||||
|
||||
@ -492,6 +508,8 @@
|
||||
<MEDIUMINT UNSIGNED, UDT> : not defined
|
||||
<MEDIUMINT UNSIGNED, DECIMAL_INT> : not defined
|
||||
<MEDIUMINT UNSIGNED, COLLECTION> : not defined
|
||||
<MEDIUMINT UNSIGNED, MYSQL_DATE> : not defined
|
||||
<MEDIUMINT UNSIGNED, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** INT UNSIGNED ****************/
|
||||
|
||||
@ -547,6 +565,8 @@
|
||||
<INT UNSIGNED, UDT> : not defined
|
||||
<INT UNSIGNED, DECIMAL_INT> : not defined
|
||||
<INT UNSIGNED, COLLECTION> : not defined
|
||||
<INT UNSIGNED, MYSQL_DATE> : not defined
|
||||
<INT UNSIGNED, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** BIGINT UNSIGNED ****************/
|
||||
|
||||
@ -602,6 +622,8 @@
|
||||
<BIGINT UNSIGNED, UDT> : not defined
|
||||
<BIGINT UNSIGNED, DECIMAL_INT> : not defined
|
||||
<BIGINT UNSIGNED, COLLECTION> : not defined
|
||||
<BIGINT UNSIGNED, MYSQL_DATE> : not defined
|
||||
<BIGINT UNSIGNED, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** FLOAT ****************/
|
||||
|
||||
@ -657,6 +679,8 @@
|
||||
<FLOAT, UDT> : not defined
|
||||
<FLOAT, DECIMAL_INT> : not defined
|
||||
<FLOAT, COLLECTION> : not defined
|
||||
<FLOAT, MYSQL_DATE> : not defined
|
||||
<FLOAT, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** DOUBLE ****************/
|
||||
|
||||
@ -712,6 +736,8 @@
|
||||
<DOUBLE, UDT> : not defined
|
||||
<DOUBLE, DECIMAL_INT> : not defined
|
||||
<DOUBLE, COLLECTION> : not defined
|
||||
<DOUBLE, MYSQL_DATE> : not defined
|
||||
<DOUBLE, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** FLOAT UNSIGNED ****************/
|
||||
|
||||
@ -767,6 +793,8 @@
|
||||
<FLOAT UNSIGNED, UDT> : not defined
|
||||
<FLOAT UNSIGNED, DECIMAL_INT> : not defined
|
||||
<FLOAT UNSIGNED, COLLECTION> : not defined
|
||||
<FLOAT UNSIGNED, MYSQL_DATE> : not defined
|
||||
<FLOAT UNSIGNED, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** DOUBLE UNSIGNED ****************/
|
||||
|
||||
@ -822,6 +850,8 @@
|
||||
<DOUBLE UNSIGNED, UDT> : not defined
|
||||
<DOUBLE UNSIGNED, DECIMAL_INT> : not defined
|
||||
<DOUBLE UNSIGNED, COLLECTION> : not defined
|
||||
<DOUBLE UNSIGNED, MYSQL_DATE> : not defined
|
||||
<DOUBLE UNSIGNED, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** DECIMAL ****************/
|
||||
|
||||
@ -877,6 +907,8 @@
|
||||
<DECIMAL, UDT> : not defined
|
||||
<DECIMAL, DECIMAL_INT> : not defined
|
||||
<DECIMAL, COLLECTION> : not defined
|
||||
<DECIMAL, MYSQL_DATE> : not defined
|
||||
<DECIMAL, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** DECIMAL UNSIGNED ****************/
|
||||
|
||||
@ -932,6 +964,8 @@
|
||||
<DECIMAL UNSIGNED, UDT> : not defined
|
||||
<DECIMAL UNSIGNED, DECIMAL_INT> : not defined
|
||||
<DECIMAL UNSIGNED, COLLECTION> : not defined
|
||||
<DECIMAL UNSIGNED, MYSQL_DATE> : not defined
|
||||
<DECIMAL UNSIGNED, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** DATETIME ****************/
|
||||
|
||||
@ -987,6 +1021,8 @@
|
||||
<DATETIME, UDT> : not defined
|
||||
<DATETIME, DECIMAL_INT> : not defined
|
||||
<DATETIME, COLLECTION> : not defined
|
||||
<DATETIME, MYSQL_DATE> : not defined
|
||||
<DATETIME, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** TIMESTAMP ****************/
|
||||
|
||||
@ -1042,6 +1078,8 @@
|
||||
<TIMESTAMP, UDT> : not defined
|
||||
<TIMESTAMP, DECIMAL_INT> : not defined
|
||||
<TIMESTAMP, COLLECTION> : not defined
|
||||
<TIMESTAMP, MYSQL_DATE> : not defined
|
||||
<TIMESTAMP, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** DATE ****************/
|
||||
|
||||
@ -1097,6 +1135,8 @@
|
||||
<DATE, UDT> : not defined
|
||||
<DATE, DECIMAL_INT> : not defined
|
||||
<DATE, COLLECTION> : not defined
|
||||
<DATE, MYSQL_DATE> : not defined
|
||||
<DATE, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** TIME ****************/
|
||||
|
||||
@ -1152,6 +1192,8 @@
|
||||
<TIME, UDT> : not defined
|
||||
<TIME, DECIMAL_INT> : not defined
|
||||
<TIME, COLLECTION> : not defined
|
||||
<TIME, MYSQL_DATE> : not defined
|
||||
<TIME, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** YEAR ****************/
|
||||
|
||||
@ -1207,6 +1249,8 @@
|
||||
<YEAR, UDT> : not defined
|
||||
<YEAR, DECIMAL_INT> : not defined
|
||||
<YEAR, COLLECTION> : not defined
|
||||
<YEAR, MYSQL_DATE> : not defined
|
||||
<YEAR, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** VARCHAR ****************/
|
||||
|
||||
@ -1262,6 +1306,8 @@
|
||||
<VARCHAR, UDT> : not defined
|
||||
<VARCHAR, DECIMAL_INT> : not defined
|
||||
<VARCHAR, COLLECTION> : not defined
|
||||
<VARCHAR, MYSQL_DATE> : not defined
|
||||
<VARCHAR, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** CHAR ****************/
|
||||
|
||||
@ -1317,6 +1363,8 @@
|
||||
<CHAR, UDT> : not defined
|
||||
<CHAR, DECIMAL_INT> : not defined
|
||||
<CHAR, COLLECTION> : not defined
|
||||
<CHAR, MYSQL_DATE> : not defined
|
||||
<CHAR, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** HEX_STRING ****************/
|
||||
|
||||
@ -1372,6 +1420,8 @@
|
||||
<HEX_STRING, UDT> : not defined
|
||||
<HEX_STRING, DECIMAL_INT> : not defined
|
||||
<HEX_STRING, COLLECTION> : not defined
|
||||
<HEX_STRING, MYSQL_DATE> : not defined
|
||||
<HEX_STRING, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** EXT ****************/
|
||||
|
||||
@ -1427,6 +1477,8 @@
|
||||
<EXT, UDT> : not defined
|
||||
<EXT, DECIMAL_INT> : defined
|
||||
<EXT, COLLECTION> : defined
|
||||
<EXT, MYSQL_DATE> : defined
|
||||
<EXT, MYSQL_DATETIME> : defined
|
||||
|
||||
/**************** UNKNOWN ****************/
|
||||
|
||||
@ -1482,6 +1534,8 @@
|
||||
<UNKNOWN, UDT> : not defined
|
||||
<UNKNOWN, DECIMAL_INT> : not defined
|
||||
<UNKNOWN, COLLECTION> : not defined
|
||||
<UNKNOWN, MYSQL_DATE> : not defined
|
||||
<UNKNOWN, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** TINYTEXT ****************/
|
||||
|
||||
@ -1537,6 +1591,8 @@
|
||||
<TINYTEXT, UDT> : not defined
|
||||
<TINYTEXT, DECIMAL_INT> : not defined
|
||||
<TINYTEXT, COLLECTION> : not defined
|
||||
<TINYTEXT, MYSQL_DATE> : not defined
|
||||
<TINYTEXT, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** TEXT ****************/
|
||||
|
||||
@ -1592,6 +1648,8 @@
|
||||
<TEXT, UDT> : not defined
|
||||
<TEXT, DECIMAL_INT> : not defined
|
||||
<TEXT, COLLECTION> : not defined
|
||||
<TEXT, MYSQL_DATE> : not defined
|
||||
<TEXT, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** MEDIUMTEXT ****************/
|
||||
|
||||
@ -1647,6 +1705,8 @@
|
||||
<MEDIUMTEXT, UDT> : not defined
|
||||
<MEDIUMTEXT, DECIMAL_INT> : not defined
|
||||
<MEDIUMTEXT, COLLECTION> : not defined
|
||||
<MEDIUMTEXT, MYSQL_DATE> : not defined
|
||||
<MEDIUMTEXT, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** LONGTEXT ****************/
|
||||
|
||||
@ -1702,6 +1762,8 @@
|
||||
<LONGTEXT, UDT> : not defined
|
||||
<LONGTEXT, DECIMAL_INT> : not defined
|
||||
<LONGTEXT, COLLECTION> : not defined
|
||||
<LONGTEXT, MYSQL_DATE> : not defined
|
||||
<LONGTEXT, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** BIT ****************/
|
||||
|
||||
@ -1757,6 +1819,8 @@
|
||||
<BIT, UDT> : not defined
|
||||
<BIT, DECIMAL_INT> : not defined
|
||||
<BIT, COLLECTION> : not defined
|
||||
<BIT, MYSQL_DATE> : not defined
|
||||
<BIT, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** ENUM ****************/
|
||||
|
||||
@ -1812,6 +1876,8 @@
|
||||
<ENUM, UDT> : not defined
|
||||
<ENUM, DECIMAL_INT> : not defined
|
||||
<ENUM, COLLECTION> : not defined
|
||||
<ENUM, MYSQL_DATE> : not defined
|
||||
<ENUM, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** SET ****************/
|
||||
|
||||
@ -1867,6 +1933,8 @@
|
||||
<SET, UDT> : not defined
|
||||
<SET, DECIMAL_INT> : not defined
|
||||
<SET, COLLECTION> : not defined
|
||||
<SET, MYSQL_DATE> : not defined
|
||||
<SET, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** ENUM_INNER ****************/
|
||||
|
||||
@ -1922,6 +1990,8 @@
|
||||
<ENUM_INNER, UDT> : not defined
|
||||
<ENUM_INNER, DECIMAL_INT> : not defined
|
||||
<ENUM_INNER, COLLECTION> : not defined
|
||||
<ENUM_INNER, MYSQL_DATE> : not defined
|
||||
<ENUM_INNER, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** SET_INNER ****************/
|
||||
|
||||
@ -1977,6 +2047,8 @@
|
||||
<SET_INNER, UDT> : not defined
|
||||
<SET_INNER, DECIMAL_INT> : not defined
|
||||
<SET_INNER, COLLECTION> : not defined
|
||||
<SET_INNER, MYSQL_DATE> : not defined
|
||||
<SET_INNER, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** TIMESTAMP_WITH_TIME_ZONE ****************/
|
||||
|
||||
@ -2032,6 +2104,8 @@
|
||||
<TIMESTAMP_WITH_TIME_ZONE, UDT> : not defined
|
||||
<TIMESTAMP_WITH_TIME_ZONE, DECIMAL_INT> : not defined
|
||||
<TIMESTAMP_WITH_TIME_ZONE, COLLECTION> : not defined
|
||||
<TIMESTAMP_WITH_TIME_ZONE, MYSQL_DATE> : not defined
|
||||
<TIMESTAMP_WITH_TIME_ZONE, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** TIMESTAMP_WITH_LOCAL_TIME_ZONE ****************/
|
||||
|
||||
@ -2087,6 +2161,8 @@
|
||||
<TIMESTAMP_WITH_LOCAL_TIME_ZONE, UDT> : not defined
|
||||
<TIMESTAMP_WITH_LOCAL_TIME_ZONE, DECIMAL_INT> : not defined
|
||||
<TIMESTAMP_WITH_LOCAL_TIME_ZONE, COLLECTION> : not defined
|
||||
<TIMESTAMP_WITH_LOCAL_TIME_ZONE, MYSQL_DATE> : not defined
|
||||
<TIMESTAMP_WITH_LOCAL_TIME_ZONE, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** TIMESTAMP ****************/
|
||||
|
||||
@ -2142,6 +2218,8 @@
|
||||
<TIMESTAMP, UDT> : not defined
|
||||
<TIMESTAMP, DECIMAL_INT> : not defined
|
||||
<TIMESTAMP, COLLECTION> : not defined
|
||||
<TIMESTAMP, MYSQL_DATE> : not defined
|
||||
<TIMESTAMP, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** RAW ****************/
|
||||
|
||||
@ -2197,6 +2275,8 @@
|
||||
<RAW, UDT> : not defined
|
||||
<RAW, DECIMAL_INT> : not defined
|
||||
<RAW, COLLECTION> : not defined
|
||||
<RAW, MYSQL_DATE> : not defined
|
||||
<RAW, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** INTERVAL_YEAR_TO_MONTH ****************/
|
||||
|
||||
@ -2252,6 +2332,8 @@
|
||||
<INTERVAL_YEAR_TO_MONTH, UDT> : not defined
|
||||
<INTERVAL_YEAR_TO_MONTH, DECIMAL_INT> : not defined
|
||||
<INTERVAL_YEAR_TO_MONTH, COLLECTION> : not defined
|
||||
<INTERVAL_YEAR_TO_MONTH, MYSQL_DATE> : not defined
|
||||
<INTERVAL_YEAR_TO_MONTH, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** INTERVAL_DAY_TO_SECOND ****************/
|
||||
|
||||
@ -2307,6 +2389,8 @@
|
||||
<INTERVAL_DAY_TO_SECOND, UDT> : not defined
|
||||
<INTERVAL_DAY_TO_SECOND, DECIMAL_INT> : not defined
|
||||
<INTERVAL_DAY_TO_SECOND, COLLECTION> : not defined
|
||||
<INTERVAL_DAY_TO_SECOND, MYSQL_DATE> : not defined
|
||||
<INTERVAL_DAY_TO_SECOND, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** NUMBER_FLOAT ****************/
|
||||
|
||||
@ -2362,6 +2446,8 @@
|
||||
<NUMBER_FLOAT, UDT> : not defined
|
||||
<NUMBER_FLOAT, DECIMAL_INT> : not defined
|
||||
<NUMBER_FLOAT, COLLECTION> : not defined
|
||||
<NUMBER_FLOAT, MYSQL_DATE> : not defined
|
||||
<NUMBER_FLOAT, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** NVARCHAR2 ****************/
|
||||
|
||||
@ -2417,6 +2503,8 @@
|
||||
<NVARCHAR2, UDT> : not defined
|
||||
<NVARCHAR2, DECIMAL_INT> : not defined
|
||||
<NVARCHAR2, COLLECTION> : not defined
|
||||
<NVARCHAR2, MYSQL_DATE> : not defined
|
||||
<NVARCHAR2, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** NCHAR ****************/
|
||||
|
||||
@ -2472,6 +2560,8 @@
|
||||
<NCHAR, UDT> : not defined
|
||||
<NCHAR, DECIMAL_INT> : not defined
|
||||
<NCHAR, COLLECTION> : not defined
|
||||
<NCHAR, MYSQL_DATE> : not defined
|
||||
<NCHAR, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** ROWID ****************/
|
||||
|
||||
@ -2527,6 +2617,8 @@
|
||||
<ROWID, UDT> : not defined
|
||||
<ROWID, DECIMAL_INT> : not defined
|
||||
<ROWID, COLLECTION> : not defined
|
||||
<ROWID, MYSQL_DATE> : not defined
|
||||
<ROWID, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** LOB ****************/
|
||||
|
||||
@ -2582,6 +2674,8 @@
|
||||
<LOB, UDT> : not defined
|
||||
<LOB, DECIMAL_INT> : not defined
|
||||
<LOB, COLLECTION> : not defined
|
||||
<LOB, MYSQL_DATE> : not defined
|
||||
<LOB, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** JSON ****************/
|
||||
|
||||
@ -2637,6 +2731,8 @@
|
||||
<JSON, UDT> : not defined
|
||||
<JSON, DECIMAL_INT> : not defined
|
||||
<JSON, COLLECTION> : not defined
|
||||
<JSON, MYSQL_DATE> : not defined
|
||||
<JSON, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** GEOMETRY ****************/
|
||||
|
||||
@ -2692,6 +2788,8 @@
|
||||
<GEOMETRY, UDT> : not defined
|
||||
<GEOMETRY, DECIMAL_INT> : not defined
|
||||
<GEOMETRY, COLLECTION> : not defined
|
||||
<GEOMETRY, MYSQL_DATE> : not defined
|
||||
<GEOMETRY, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** UDT ****************/
|
||||
|
||||
@ -2747,6 +2845,8 @@
|
||||
<UDT, UDT> : not defined
|
||||
<UDT, DECIMAL_INT> : not defined
|
||||
<UDT, COLLECTION> : not defined
|
||||
<UDT, MYSQL_DATE> : not defined
|
||||
<UDT, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** DECIMAL_INT ****************/
|
||||
|
||||
@ -2802,6 +2902,8 @@
|
||||
<DECIMAL_INT, UDT> : not defined
|
||||
<DECIMAL_INT, DECIMAL_INT> : defined
|
||||
<DECIMAL_INT, COLLECTION> : not defined
|
||||
<DECIMAL_INT, MYSQL_DATE> : not defined
|
||||
<DECIMAL_INT, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** COLLECTION ****************/
|
||||
|
||||
@ -2857,4 +2959,120 @@
|
||||
<COLLECTION, UDT> : not defined
|
||||
<COLLECTION, DECIMAL_INT> : not defined
|
||||
<COLLECTION, COLLECTION> : not defined
|
||||
<COLLECTION, MYSQL_DATE> : not defined
|
||||
<COLLECTION, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** MYSQL_DATE ****************/
|
||||
|
||||
<MYSQL_DATE, NULL> : defined
|
||||
<MYSQL_DATE, TINYINT> : not defined
|
||||
<MYSQL_DATE, SMALLINT> : not defined
|
||||
<MYSQL_DATE, MEDIUMINT> : not defined
|
||||
<MYSQL_DATE, INT> : not defined
|
||||
<MYSQL_DATE, BIGINT> : not defined
|
||||
<MYSQL_DATE, TINYINT UNSIGNED> : not defined
|
||||
<MYSQL_DATE, SMALLINT UNSIGNED> : not defined
|
||||
<MYSQL_DATE, MEDIUMINT UNSIGNED> : not defined
|
||||
<MYSQL_DATE, INT UNSIGNED> : not defined
|
||||
<MYSQL_DATE, BIGINT UNSIGNED> : not defined
|
||||
<MYSQL_DATE, FLOAT> : not defined
|
||||
<MYSQL_DATE, DOUBLE> : not defined
|
||||
<MYSQL_DATE, FLOAT UNSIGNED> : not defined
|
||||
<MYSQL_DATE, DOUBLE UNSIGNED> : not defined
|
||||
<MYSQL_DATE, DECIMAL> : not defined
|
||||
<MYSQL_DATE, DECIMAL UNSIGNED> : not defined
|
||||
<MYSQL_DATE, DATETIME> : not defined
|
||||
<MYSQL_DATE, TIMESTAMP> : not defined
|
||||
<MYSQL_DATE, DATE> : not defined
|
||||
<MYSQL_DATE, TIME> : not defined
|
||||
<MYSQL_DATE, YEAR> : not defined
|
||||
<MYSQL_DATE, VARCHAR> : not defined
|
||||
<MYSQL_DATE, CHAR> : not defined
|
||||
<MYSQL_DATE, HEX_STRING> : not defined
|
||||
<MYSQL_DATE, EXT> : defined
|
||||
<MYSQL_DATE, UNKNOWN> : not defined
|
||||
<MYSQL_DATE, TINYTEXT> : not defined
|
||||
<MYSQL_DATE, TEXT> : not defined
|
||||
<MYSQL_DATE, MEDIUMTEXT> : not defined
|
||||
<MYSQL_DATE, LONGTEXT> : not defined
|
||||
<MYSQL_DATE, BIT> : not defined
|
||||
<MYSQL_DATE, ENUM> : not defined
|
||||
<MYSQL_DATE, SET> : not defined
|
||||
<MYSQL_DATE, ENUM_INNER> : not defined
|
||||
<MYSQL_DATE, SET_INNER> : not defined
|
||||
<MYSQL_DATE, TIMESTAMP_WITH_TIME_ZONE> : not defined
|
||||
<MYSQL_DATE, TIMESTAMP_WITH_LOCAL_TIME_ZONE> : not defined
|
||||
<MYSQL_DATE, TIMESTAMP> : not defined
|
||||
<MYSQL_DATE, RAW> : not defined
|
||||
<MYSQL_DATE, INTERVAL_YEAR_TO_MONTH> : not defined
|
||||
<MYSQL_DATE, INTERVAL_DAY_TO_SECOND> : not defined
|
||||
<MYSQL_DATE, NUMBER_FLOAT> : not defined
|
||||
<MYSQL_DATE, NVARCHAR2> : not defined
|
||||
<MYSQL_DATE, NCHAR> : not defined
|
||||
<MYSQL_DATE, ROWID> : not defined
|
||||
<MYSQL_DATE, LOB> : not defined
|
||||
<MYSQL_DATE, JSON> : not defined
|
||||
<MYSQL_DATE, GEOMETRY> : not defined
|
||||
<MYSQL_DATE, UDT> : not defined
|
||||
<MYSQL_DATE, DECIMAL_INT> : not defined
|
||||
<MYSQL_DATE, COLLECTION> : not defined
|
||||
<MYSQL_DATE, MYSQL_DATE> : not defined
|
||||
<MYSQL_DATE, MYSQL_DATETIME> : not defined
|
||||
|
||||
/**************** MYSQL_DATETIME ****************/
|
||||
|
||||
<MYSQL_DATETIME, NULL> : defined
|
||||
<MYSQL_DATETIME, TINYINT> : not defined
|
||||
<MYSQL_DATETIME, SMALLINT> : not defined
|
||||
<MYSQL_DATETIME, MEDIUMINT> : not defined
|
||||
<MYSQL_DATETIME, INT> : not defined
|
||||
<MYSQL_DATETIME, BIGINT> : not defined
|
||||
<MYSQL_DATETIME, TINYINT UNSIGNED> : not defined
|
||||
<MYSQL_DATETIME, SMALLINT UNSIGNED> : not defined
|
||||
<MYSQL_DATETIME, MEDIUMINT UNSIGNED> : not defined
|
||||
<MYSQL_DATETIME, INT UNSIGNED> : not defined
|
||||
<MYSQL_DATETIME, BIGINT UNSIGNED> : not defined
|
||||
<MYSQL_DATETIME, FLOAT> : not defined
|
||||
<MYSQL_DATETIME, DOUBLE> : not defined
|
||||
<MYSQL_DATETIME, FLOAT UNSIGNED> : not defined
|
||||
<MYSQL_DATETIME, DOUBLE UNSIGNED> : not defined
|
||||
<MYSQL_DATETIME, DECIMAL> : not defined
|
||||
<MYSQL_DATETIME, DECIMAL UNSIGNED> : not defined
|
||||
<MYSQL_DATETIME, DATETIME> : not defined
|
||||
<MYSQL_DATETIME, TIMESTAMP> : not defined
|
||||
<MYSQL_DATETIME, DATE> : not defined
|
||||
<MYSQL_DATETIME, TIME> : not defined
|
||||
<MYSQL_DATETIME, YEAR> : not defined
|
||||
<MYSQL_DATETIME, VARCHAR> : not defined
|
||||
<MYSQL_DATETIME, CHAR> : not defined
|
||||
<MYSQL_DATETIME, HEX_STRING> : not defined
|
||||
<MYSQL_DATETIME, EXT> : defined
|
||||
<MYSQL_DATETIME, UNKNOWN> : not defined
|
||||
<MYSQL_DATETIME, TINYTEXT> : not defined
|
||||
<MYSQL_DATETIME, TEXT> : not defined
|
||||
<MYSQL_DATETIME, MEDIUMTEXT> : not defined
|
||||
<MYSQL_DATETIME, LONGTEXT> : not defined
|
||||
<MYSQL_DATETIME, BIT> : not defined
|
||||
<MYSQL_DATETIME, ENUM> : not defined
|
||||
<MYSQL_DATETIME, SET> : not defined
|
||||
<MYSQL_DATETIME, ENUM_INNER> : not defined
|
||||
<MYSQL_DATETIME, SET_INNER> : not defined
|
||||
<MYSQL_DATETIME, TIMESTAMP_WITH_TIME_ZONE> : not defined
|
||||
<MYSQL_DATETIME, TIMESTAMP_WITH_LOCAL_TIME_ZONE> : not defined
|
||||
<MYSQL_DATETIME, TIMESTAMP> : not defined
|
||||
<MYSQL_DATETIME, RAW> : not defined
|
||||
<MYSQL_DATETIME, INTERVAL_YEAR_TO_MONTH> : not defined
|
||||
<MYSQL_DATETIME, INTERVAL_DAY_TO_SECOND> : not defined
|
||||
<MYSQL_DATETIME, NUMBER_FLOAT> : not defined
|
||||
<MYSQL_DATETIME, NVARCHAR2> : not defined
|
||||
<MYSQL_DATETIME, NCHAR> : not defined
|
||||
<MYSQL_DATETIME, ROWID> : not defined
|
||||
<MYSQL_DATETIME, LOB> : not defined
|
||||
<MYSQL_DATETIME, JSON> : not defined
|
||||
<MYSQL_DATETIME, GEOMETRY> : not defined
|
||||
<MYSQL_DATETIME, UDT> : not defined
|
||||
<MYSQL_DATETIME, DECIMAL_INT> : not defined
|
||||
<MYSQL_DATETIME, COLLECTION> : not defined
|
||||
<MYSQL_DATETIME, MYSQL_DATE> : not defined
|
||||
<MYSQL_DATETIME, MYSQL_DATETIME> : not defined
|
||||
|
||||
|
@ -57,9 +57,10 @@ public:
|
||||
// Every ObObjType from ObTinyIntType to ObHexStringType inclusive.
|
||||
// Skip ObNullType and ObExtendType because for external usage, a column type
|
||||
// can't be NULL or NOP.
|
||||
ObObjType not_test_type[11] = {
|
||||
ObObjType not_test_type[13] = {
|
||||
ObNullType, ObExtendType, ObUnknownType, ObEnumInnerType, ObSetInnerType,
|
||||
ObNumberFloatType, ObURowIDType, ObLobType, ObUserDefinedSQLType, ObDecimalIntType, ObCollectionSQLType};
|
||||
ObNumberFloatType, ObURowIDType, ObLobType, ObUserDefinedSQLType, ObDecimalIntType,
|
||||
ObCollectionSQLType, ObMySQLDateType, ObMySQLDateTimeType};
|
||||
static const int64_t column_num = ObMaxType - sizeof(not_test_type) / sizeof(ObObjType);
|
||||
public:
|
||||
TestNewRowReader()
|
||||
|
Loading…
x
Reference in New Issue
Block a user