Commit 09a30f91 authored by georg@lmy002.wdf.sap.corp's avatar georg@lmy002.wdf.sap.corp

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

into lmy002.wdf.sap.corp:/home/georg/work/mysql/prod/mysql-5.0
parents 36c1766f 7d6c1231
...@@ -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