mirror of
https://github.com/MariaDB/server.git
synced 2026-05-05 06:35:33 +02:00
Manual merge from mysql-5.1-bugteam into mysql-trunk-merge.
Conflicts: Text conflict in .bzr-mysql/default.conf Text conflict in mysql-test/suite/rpl/r/rpl_loaddata_fatal.result Text conflict in mysql-test/suite/rpl/r/rpl_stm_log.result Text conflict in mysql-test/t/mysqlbinlog.test Text conflict in sql/sql_acl.cc Text conflict in sql/sql_servers.cc Text conflict in sql/sql_update.cc Text conflict in support-files/mysql.spec.sh
This commit is contained in:
commit
0a5b406fc5
63 changed files with 1053 additions and 165 deletions
|
|
@ -677,8 +677,8 @@ String *Item_func_concat_ws::val_str(String *str)
|
|||
res->length() + sep_str->length() + res2->length())
|
||||
{
|
||||
/* We have room in str; We can't get any errors here */
|
||||
if (str == res2)
|
||||
{ // This is quote uncommon!
|
||||
if (str->ptr() == res2->ptr())
|
||||
{ // This is quite uncommon!
|
||||
str->replace(0,0,*sep_str);
|
||||
str->replace(0,0,*res);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue