Commit 65d77263 authored by unknown's avatar unknown

Merge acurtis@bk-internal.mysql.com:/home/bk/mysql-5.0

into  xiphis.org:/opt2/tmp/autopush/mysql-5.0-fixbuild
parents 83e6ec70 8abb01cb
......@@ -6412,7 +6412,7 @@ void Field_varstring::sql_type(String &res) const
}
uint Field_varstring::data_length(const char *from)
uint32 Field_varstring::data_length(const char *from)
{
return length_bytes == 1 ? (uint) (uchar) *ptr : uint2korr(ptr);
}
......
......@@ -1107,7 +1107,7 @@ class Field_varstring :public Field_longstr {
int key_cmp(const byte *str, uint length);
uint packed_col_length(const char *to, uint length);
uint max_packed_col_length(uint max_length);
uint data_length(const char *from);
uint32 data_length(const char *from);
uint size_of() const { return sizeof(*this); }
enum_field_types real_type() const { return MYSQL_TYPE_VARCHAR; }
bool has_charset(void) const
......
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