Fix type deduction error of mod expression
This commit is contained in:
@ -382,7 +382,7 @@ static ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObDoubleType, /* ObJsonType */
|
||||
ObMaxType, /* ObGeometryType */
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObUNumberType, /* ObDecimalIntType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
},
|
||||
|
||||
/*USmallIntType*/
|
||||
@ -437,7 +437,7 @@ static ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObDoubleType, /* ObJsonType */
|
||||
ObMaxType, /* ObGeometryType */
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObUNumberType, /* ObDecimalIntType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
},
|
||||
|
||||
/*UMediumIntType*/
|
||||
@ -492,7 +492,7 @@ static ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObDoubleType, /* ObJsonType */
|
||||
ObMaxType, /* ObGeometryType */
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObUNumberType, /* ObDecimalIntType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
},
|
||||
|
||||
/*UInt32Type*/
|
||||
@ -547,7 +547,7 @@ static ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObDoubleType, /* ObJsonType */
|
||||
ObMaxType, /* ObGeometryType */
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObUNumberType, /* ObDecimalIntType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
},
|
||||
|
||||
/*UIntType*/
|
||||
@ -602,7 +602,7 @@ static ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
||||
ObDoubleType, /* ObJsonType */
|
||||
ObMaxType, /* ObGeometryType */
|
||||
ObMaxType, /* ObUserDefinedSQLType */
|
||||
ObUNumberType, /* ObDecimalIntType */
|
||||
ObDecimalIntType, /* ObDecimalIntType */
|
||||
},
|
||||
|
||||
/*FloatType*/
|
||||
|
Reference in New Issue
Block a user