Commit 1ddf8633 authored by bell@sanja.is.com.ua's avatar bell@sanja.is.com.ua

removed annecessary assignment found by Monty

parent d7b11e6e
......@@ -152,9 +152,7 @@ String *Item_singleval_subselect::val_str (String *str)
assign_null();
return 0;
}
// Assign temporary buffer with stored value
str_value.set(string_value, 0, string_value.length());
return &str_value;
return &string_value;
}
Item_exists_subselect::Item_exists_subselect(THD *thd,
......
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