mirror of
https://github.com/MariaDB/server.git
synced 2025-08-09 22:24:09 +03:00
field_conv.cc:
Additional fix for bug #29360. sql/field_conv.cc: Additional fix for bug #29360.
This commit is contained in:
@@ -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 ||
|
||||||
|
Reference in New Issue
Block a user