fix calc least expr bug
This commit is contained in:
@ -4903,6 +4903,7 @@ int ObMinMaxExprOperator::calc_result_meta_for_comparison(
|
|||||||
max_length = MAX(max_length, types_stack[i].get_length());
|
max_length = MAX(max_length, types_stack[i].get_length());
|
||||||
}
|
}
|
||||||
type.set_length(static_cast<ObLength>(max_length));
|
type.set_length(static_cast<ObLength>(max_length));
|
||||||
|
type.set_scale(SCALE_UNKNOWN_YET);
|
||||||
} else {
|
} else {
|
||||||
int64_t max_scale = 0;
|
int64_t max_scale = 0;
|
||||||
int64_t max_precision = 0;
|
int64_t max_precision = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user