Optimization of CASE bug fix

This commit is contained in:
unknown 2002-12-21 10:45:06 +02:00
parent 35f6e920c5
commit 5f1b9717c5

View File

@ -685,10 +685,9 @@ String *Item_func_case::val_str(String *str)
null_value=1;
return 0;
}
null_value= 0;
if (!(res=item->val_str(str)))
null_value=1;
else
null_value=item->null_value;
null_value= 1;
return res;
}