mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-20732 Correctly set the length of the FORMAT() result for float data type as argument.
This commit is contained in:
committed by
Robert Bindar
parent
1c97cd339e
commit
f0ca9bc669
@ -5147,6 +5147,7 @@ public:
|
||||
}
|
||||
bool type_can_have_auto_increment_attribute() const { return true; }
|
||||
uint32 max_display_length(const Item *item) const { return 25; }
|
||||
uint32 Item_decimal_notation_int_digits(const Item *item) const { return 39; }
|
||||
uint32 calc_pack_length(uint32 length) const { return sizeof(float); }
|
||||
Item *create_typecast_item(THD *thd, Item *item,
|
||||
const Type_cast_attributes &attr) const;
|
||||
|
Reference in New Issue
Block a user