summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <pem@mysql.comhem.se>2004-08-30 11:09:56 +0200
committerunknown <pem@mysql.comhem.se>2004-08-30 11:09:56 +0200
commitacfd7fbf87263989ceeddfe3225858566a84caf5 (patch)
tree8157d15da8756a360dff1f05f9b369037c569010
parentca37e1c3778cd151bf61339042767a81d8bf2369 (diff)
downloadmariadb-git-acfd7fbf87263989ceeddfe3225858566a84caf5.tar.gz
Fixed return type warning in sql/item.cc.
sql/item.cc: Fixed return type warning.
-rw-r--r--sql/item.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item.cc b/sql/item.cc
index 138ab384caf..517309acd2b 100644
--- a/sql/item.cc
+++ b/sql/item.cc
@@ -2182,7 +2182,7 @@ longlong Item_ref::val_int_result()
if (result_field)
{
if ((null_value= result_field->is_null()))
- return 0.0;
+ return 0;
return result_field->val_int();
}
return val_int();