73
73
case DECIMAL_RESULT:
76
my_decimal2int(E_DEC_FATAL_ERROR, (my_decimal *)value, 0, &result);
76
class_decimal2int(E_DEC_FATAL_ERROR, (my_decimal *)value, 0, &result);
115
115
case DECIMAL_RESULT:
116
my_decimal2string(E_DEC_FATAL_ERROR, (my_decimal *)value, 0, 0, 0, str);
116
class_decimal2string(E_DEC_FATAL_ERROR, (my_decimal *)value, 0, 0, 0, str);
119
119
case STRING_RESULT:
139
139
case REAL_RESULT:
140
double2my_decimal(E_DEC_FATAL_ERROR, *(double*) value, val);
140
double2_class_decimal(E_DEC_FATAL_ERROR, *(double*) value, val);
144
int2my_decimal(E_DEC_FATAL_ERROR, *(int64_t*) value, 0, val);
144
int2_class_decimal(E_DEC_FATAL_ERROR, *(int64_t*) value, 0, val);
147
147
case DECIMAL_RESULT:
151
151
case STRING_RESULT:
152
str2my_decimal(E_DEC_FATAL_ERROR, value, length, collation.collation, val);
152
str2_class_decimal(E_DEC_FATAL_ERROR, value, length, collation.collation, val);