mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
correct off-by-one error in CONCAT
CONCAT_WS didn't have it
This commit is contained in:
parent
e8e67bd4a4
commit
69bd73173d
1 changed files with 1 additions and 1 deletions
|
@ -539,7 +539,7 @@ String *Item_func_concat::val_str(String *str)
|
|||
use_as_buff=str; // Put next arg here
|
||||
}
|
||||
else if (tmp_value.is_alloced() && res2->ptr() >= tmp_value.ptr() &&
|
||||
res2->ptr() <= tmp_value.ptr() + tmp_value.alloced_length())
|
||||
res2->ptr() < tmp_value.ptr() + tmp_value.alloced_length())
|
||||
{
|
||||
/*
|
||||
This happens really seldom:
|
||||
|
|
Loading…
Reference in a new issue