[FEAT MERGE] OB Support XMLType

Co-authored-by: simonjoylet <simonjoylet@gmail.com>
This commit is contained in:
obdev
2023-04-28 03:45:10 +00:00
committed by ob-robot
parent 58bb3d34b7
commit 17abf2818a
405 changed files with 18839 additions and 1573 deletions

View File

@ -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[50] = {
static const int32_t CAST_STRING_DEFUALT_LENGTH[51] = {
0, //null
4, //tinyint
6, //smallint
@ -78,6 +78,7 @@ static const int32_t CAST_STRING_DEFUALT_LENGTH[50] = {
1,//lob
1,//json
1,//geometry
1,//udt
0//max, invalid type, or count of obj type
};
@ -172,6 +173,7 @@ private:
ObExpr **subquery_row,
ObEvalCtx *subquery_ctx,
ObSubQueryIterator *subquery_iter);
int adjust_udt_cast_type(const ObExprResType &src_type, ObExprResType &dst_type) const;
private:
int get_cast_string_len(ObExprResType &type1,