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 */
|
ObDoubleType, /* ObJsonType */
|
||||||
ObMaxType, /* ObGeometryType */
|
ObMaxType, /* ObGeometryType */
|
||||||
ObMaxType, /* ObUserDefinedSQLType */
|
ObMaxType, /* ObUserDefinedSQLType */
|
||||||
ObUNumberType, /* ObDecimalIntType */
|
ObDecimalIntType, /* ObDecimalIntType */
|
||||||
},
|
},
|
||||||
|
|
||||||
/*USmallIntType*/
|
/*USmallIntType*/
|
||||||
@ -437,7 +437,7 @@ static ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
|||||||
ObDoubleType, /* ObJsonType */
|
ObDoubleType, /* ObJsonType */
|
||||||
ObMaxType, /* ObGeometryType */
|
ObMaxType, /* ObGeometryType */
|
||||||
ObMaxType, /* ObUserDefinedSQLType */
|
ObMaxType, /* ObUserDefinedSQLType */
|
||||||
ObUNumberType, /* ObDecimalIntType */
|
ObDecimalIntType, /* ObDecimalIntType */
|
||||||
},
|
},
|
||||||
|
|
||||||
/*UMediumIntType*/
|
/*UMediumIntType*/
|
||||||
@ -492,7 +492,7 @@ static ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
|||||||
ObDoubleType, /* ObJsonType */
|
ObDoubleType, /* ObJsonType */
|
||||||
ObMaxType, /* ObGeometryType */
|
ObMaxType, /* ObGeometryType */
|
||||||
ObMaxType, /* ObUserDefinedSQLType */
|
ObMaxType, /* ObUserDefinedSQLType */
|
||||||
ObUNumberType, /* ObDecimalIntType */
|
ObDecimalIntType, /* ObDecimalIntType */
|
||||||
},
|
},
|
||||||
|
|
||||||
/*UInt32Type*/
|
/*UInt32Type*/
|
||||||
@ -547,7 +547,7 @@ static ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
|||||||
ObDoubleType, /* ObJsonType */
|
ObDoubleType, /* ObJsonType */
|
||||||
ObMaxType, /* ObGeometryType */
|
ObMaxType, /* ObGeometryType */
|
||||||
ObMaxType, /* ObUserDefinedSQLType */
|
ObMaxType, /* ObUserDefinedSQLType */
|
||||||
ObUNumberType, /* ObDecimalIntType */
|
ObDecimalIntType, /* ObDecimalIntType */
|
||||||
},
|
},
|
||||||
|
|
||||||
/*UIntType*/
|
/*UIntType*/
|
||||||
@ -602,7 +602,7 @@ static ObObjType MOD_RESULT_TYPE[ObMaxType][ObMaxType] =
|
|||||||
ObDoubleType, /* ObJsonType */
|
ObDoubleType, /* ObJsonType */
|
||||||
ObMaxType, /* ObGeometryType */
|
ObMaxType, /* ObGeometryType */
|
||||||
ObMaxType, /* ObUserDefinedSQLType */
|
ObMaxType, /* ObUserDefinedSQLType */
|
||||||
ObUNumberType, /* ObDecimalIntType */
|
ObDecimalIntType, /* ObDecimalIntType */
|
||||||
},
|
},
|
||||||
|
|
||||||
/*FloatType*/
|
/*FloatType*/
|
||||||
|
|||||||
Reference in New Issue
Block a user