Optimization of CASE bug fix
This commit is contained in:
parent
35f6e920c5
commit
5f1b9717c5
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user