Commit 979d7e4b authored by unknown's avatar unknown

Merge grichter@bk-internal1.mysql.com:/home/bk/mysql-5.0

into lmy002.wdf.sap.corp:/home/georg/work/mysql/prod/mysql-5.0

parents 13683982 5648be42
...@@ -1318,7 +1318,7 @@ class Item_func_sp :public Item_func ...@@ -1318,7 +1318,7 @@ class Item_func_sp :public Item_func
longlong val_int() longlong val_int()
{ {
if (execute(&result_field)) if (execute(&result_field))
return 0LL; return (longlong) 0;
return result_field->val_int(); return result_field->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