Commit b6e01cbb authored by unknown's avatar unknown

field_conv.cc:

  Additional fix for bug #29360.


sql/field_conv.cc:
  Additional fix for bug #29360.
parent 0920c75b
...@@ -795,6 +795,7 @@ int field_conv(Field *to,Field *from) ...@@ -795,6 +795,7 @@ int field_conv(Field *to,Field *from)
from->val_int() == 0) from->val_int() == 0)
{ {
((Field_enum *)(to))->store_type(0); ((Field_enum *)(to))->store_type(0);
return 0;
} }
else if ((from->result_type() == STRING_RESULT && else if ((from->result_type() == STRING_RESULT &&
(to->result_type() == STRING_RESULT || (to->result_type() == STRING_RESULT ||
......
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