Commit 5f1b9717 authored by unknown's avatar unknown

Optimization of CASE bug fix

parent 35f6e920
...@@ -685,10 +685,9 @@ String *Item_func_case::val_str(String *str) ...@@ -685,10 +685,9 @@ String *Item_func_case::val_str(String *str)
null_value=1; null_value=1;
return 0; return 0;
} }
null_value= 0;
if (!(res=item->val_str(str))) if (!(res=item->val_str(str)))
null_value=1; null_value= 1;
else
null_value=item->null_value;
return res; return res;
} }
......
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