summaryrefslogtreecommitdiff
path: root/sql/field_conv.cc
diff options
context:
space:
mode:
authorgshchepa/uchum@gleb.loc <>2007-07-12 00:55:40 +0500
committergshchepa/uchum@gleb.loc <>2007-07-12 00:55:40 +0500
commitb01237b9cbd0917c09b8a7453dc9d2cfe16b1d92 (patch)
treec0bfadf46bb6d8fd31e532045478393c12d64d3b /sql/field_conv.cc
parent13844b2533862ba6c746e3233e7693a90162c9ea (diff)
downloadmariadb-git-b01237b9cbd0917c09b8a7453dc9d2cfe16b1d92.tar.gz
field_conv.cc:
Additional fix for bug #29360.
Diffstat (limited to 'sql/field_conv.cc')
-rw-r--r--sql/field_conv.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/field_conv.cc b/sql/field_conv.cc
index 2df65b62de6..2705d4f617b 100644
--- a/sql/field_conv.cc
+++ b/sql/field_conv.cc
@@ -795,6 +795,7 @@ int field_conv(Field *to,Field *from)
from->val_int() == 0)
{
((Field_enum *)(to))->store_type(0);
+ return 0;
}
else if ((from->result_type() == STRING_RESULT &&
(to->result_type() == STRING_RESULT ||