summaryrefslogtreecommitdiff
path: root/sql/field_conv.cc
diff options
context:
space:
mode:
authorunknown <gshchepa/uchum@gleb.loc>2007-07-12 00:55:40 +0500
committerunknown <gshchepa/uchum@gleb.loc>2007-07-12 00:55:40 +0500
commitb6e01cbba30f2e951b5dcae1be65fc79c58ab088 (patch)
treec0bfadf46bb6d8fd31e532045478393c12d64d3b /sql/field_conv.cc
parent0920c75b5efa164253c546f88e30b9b4fe686e6b (diff)
downloadmariadb-git-b6e01cbba30f2e951b5dcae1be65fc79c58ab088.tar.gz
field_conv.cc:
Additional fix for bug #29360. sql/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 ||