mirror of
https://github.com/MariaDB/server.git
synced 2026-05-09 08:34:28 +02:00
Optimization of CASE bug fix
This commit is contained in:
parent
5d60d8e5cb
commit
962042e76d
1 changed files with 2 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue