mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 12:32:27 +01:00
Moved size_of() from Field_double to Field_real in order to properly clone Field_float and Field_double. This is to fix PushBuild failures introduced by the patch for bug #28121.
This commit is contained in:
parent
0dc78d3913
commit
a7abb1d332
1 changed files with 1 additions and 1 deletions
|
@ -470,6 +470,7 @@ public:
|
|||
my_decimal *val_decimal(my_decimal *);
|
||||
int truncate(double *nr, double max_length);
|
||||
uint32 max_display_length() { return field_length; }
|
||||
uint size_of() const { return sizeof(*this); }
|
||||
};
|
||||
|
||||
|
||||
|
@ -794,7 +795,6 @@ public:
|
|||
void sort_string(char *buff,uint length);
|
||||
uint32 pack_length() const { return sizeof(double); }
|
||||
void sql_type(String &str) const;
|
||||
uint size_of() const { return sizeof(*this); }
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue