Commit c724163e authored by monty@mysql.com's avatar monty@mysql.com

Fix to allow usage of 4.0 tables with 4.1

parent b56851fd
Branches unavailable
Tags unavailable
No related merge requests found
...@@ -5943,6 +5943,7 @@ Field *make_field(char *ptr, uint32 field_length, ...@@ -5943,6 +5943,7 @@ Field *make_field(char *ptr, uint32 field_length,
if (!f_is_packed(pack_flag)) if (!f_is_packed(pack_flag))
{ {
if (field_type == FIELD_TYPE_STRING || if (field_type == FIELD_TYPE_STRING ||
field_type == FIELD_TYPE_DECIMAL || // 3.23 or 4.0 string
field_type == FIELD_TYPE_VAR_STRING) field_type == FIELD_TYPE_VAR_STRING)
return new Field_string(ptr,field_length,null_pos,null_bit, return new Field_string(ptr,field_length,null_pos,null_bit,
unireg_check, field_name, table, unireg_check, field_name, table,
......
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