diff options
author | unknown <ram@gw.mysql.r18.ru> | 2004-09-15 15:13:17 +0500 |
---|---|---|
committer | unknown <ram@gw.mysql.r18.ru> | 2004-09-15 15:13:17 +0500 |
commit | b87892265caf1c88e898eebc3c2f27ad086f6359 (patch) | |
tree | 3d7a323c6cde888ad2a912ad7d129d4063ce78f3 /sql/item_strfunc.cc | |
parent | 1afd5d4d3d7fa67ae25afecb129bcc093f61d890 (diff) | |
download | mariadb-git-b87892265caf1c88e898eebc3c2f27ad086f6359.tar.gz |
A fix (bug #5540: CONCAT function and 'double' type).
Diffstat (limited to 'sql/item_strfunc.cc')
-rw-r--r-- | sql/item_strfunc.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/item_strfunc.cc b/sql/item_strfunc.cc index cad1036081e..131bd55dc81 100644 --- a/sql/item_strfunc.cc +++ b/sql/item_strfunc.cc @@ -289,7 +289,8 @@ String *Item_func_concat::val_str(String *str) str->copy(*res); str->append(*res2); } - res=str; + res= str; + use_as_buff= &tmp_value; } else if (res == &tmp_value) { |