Commit 9aaf828d authored by unknown's avatar unknown

Fixed return type warning in sql/item.cc.


sql/item.cc:
  Fixed return type warning.
parent cddb6522
...@@ -2182,7 +2182,7 @@ longlong Item_ref::val_int_result() ...@@ -2182,7 +2182,7 @@ longlong Item_ref::val_int_result()
if (result_field) if (result_field)
{ {
if ((null_value= result_field->is_null())) if ((null_value= result_field->is_null()))
return 0.0; return 0;
return result_field->val_int(); return result_field->val_int();
} }
return 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