[FEAT MERGE] OB Support XMLType
Co-authored-by: simonjoylet <simonjoylet@gmail.com>
This commit is contained in:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user