1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03: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.

sql/field.h:
  Moved size_of() from Field_double to Field_real in order to properly clone Field_float and Field_double.
This commit is contained in:
unknown
2007-05-29 16:35:55 +04:00
parent eab7e4d4e4
commit 07c7cf1288

View File

@@ -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); }
};