1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

MDEV-20332 Wrong UNSIGNED metadata flag returned for COALESCE(unsigned_field,timestamp_field)

This commit is contained in:
Alexander Barkov
2019-08-12 23:11:36 +04:00
parent 0e0d57141e
commit d4d865fcc8
3 changed files with 37 additions and 1 deletions

View File

@@ -1201,7 +1201,7 @@ bool Type_std_attributes::aggregate_attributes_string(const char *func_name,
max_length= find_max_octet_length(items, nitems);
else
fix_char_length(find_max_char_length(items, nitems));
unsigned_flag= count_unsigned(items, nitems) > 0;
unsigned_flag= false;
decimals= max_length ? NOT_FIXED_DEC : 0;
return false;
}