Commit 0c39b745 authored by pem@mysql.comhem.se's avatar pem@mysql.comhem.se

Fixed return type warning in sql/item.cc.

parent 17c845bc
......@@ -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();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment