Commit bf8a4f12 authored by kaa@polly.local's avatar kaa@polly.local

Merge polly.local:/home/kaa/src/maint/mysql-5.0-maint

into  polly.local:/home/kaa/src/maint/mysql-5.1-maint
parents 8a9fd599 a7abb1d3
...@@ -544,6 +544,7 @@ class Field_real :public Field_num { ...@@ -544,6 +544,7 @@ class Field_real :public Field_num {
my_decimal *val_decimal(my_decimal *); my_decimal *val_decimal(my_decimal *);
int truncate(double *nr, double max_length); int truncate(double *nr, double max_length);
uint32 max_display_length() { return field_length; } uint32 max_display_length() { return field_length; }
uint size_of() const { return sizeof(*this); }
}; };
...@@ -859,7 +860,6 @@ class Field_double :public Field_real { ...@@ -859,7 +860,6 @@ class Field_double :public Field_real {
void sort_string(char *buff,uint length); void sort_string(char *buff,uint length);
uint32 pack_length() const { return sizeof(double); } uint32 pack_length() const { return sizeof(double); }
void sql_type(String &str) const; void sql_type(String &str) const;
uint size_of() const { return sizeof(*this); }
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment