mirror of
https://github.com/MariaDB/server.git
synced 2025-01-28 17:54:16 +01:00
refactor: remove redundant assignments
This commit is contained in:
parent
c0fe31c5dd
commit
195833f1b6
1 changed files with 1 additions and 3 deletions
|
@ -2605,10 +2605,8 @@ String *Item_func_json_merge_patch::val_str(String *str)
|
|||
if (json_read_value(&je2))
|
||||
goto error_return;
|
||||
if (je2.value_type == JSON_VALUE_OBJECT)
|
||||
{
|
||||
merge_to_null= true;
|
||||
goto cont_point;
|
||||
}
|
||||
|
||||
merge_to_null= false;
|
||||
str->set(js2->ptr(), js2->length(), js2->charset());
|
||||
goto cont_point;
|
||||
|
|
Loading…
Add table
Reference in a new issue