summaryrefslogtreecommitdiff
path: root/sql/field_conv.cc
diff options
context:
space:
mode:
authorhf@deer.(none) <>2004-03-16 14:59:22 +0400
committerhf@deer.(none) <>2004-03-16 14:59:22 +0400
commitcdc27d597ece7757522531445a42adb1c82d4357 (patch)
tree55decae2a516ff1d04ff9eb9e940b4b6a0d12c2c /sql/field_conv.cc
parent2011d717cb3b53fe71103bc93c1596a39e88f3a4 (diff)
downloadmariadb-git-cdc27d597ece7757522531445a42adb1c82d4357.tar.gz
Fix for #233 (final part)
Diffstat (limited to 'sql/field_conv.cc')
-rw-r--r--sql/field_conv.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/field_conv.cc b/sql/field_conv.cc
index 47402c32aa4..3272c2faf48 100644
--- a/sql/field_conv.cc
+++ b/sql/field_conv.cc
@@ -109,7 +109,7 @@ static void do_outer_field_to_null_str(Copy_field *copy)
}
-bool
+int
set_field_to_null(Field *field)
{
if (field->real_maybe_null())
@@ -149,7 +149,7 @@ set_field_to_null(Field *field)
If no_conversion was not set, an error message is printed
*/
-bool
+int
set_field_to_null_with_conversions(Field *field, bool no_conversions)
{
if (field->real_maybe_null())