1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-4677 GROUP_CONCAT not showing any output with group_concat_max_len >= 4Gb

don't allow group_concat_max_len values >= 4Gb
(they never worked anyway)
This commit is contained in:
Sergei Golubchik
2020-11-11 15:51:18 +01:00
parent e189faf0b3
commit f6e91552f0
10 changed files with 41 additions and 18 deletions

View File

@ -8255,7 +8255,7 @@ int Field_blob::store(const char *from,uint length,CHARSET_INFO *cs)
DBUG_ASSERT(length <= max_data_length());
new_length= length;
copy_length= (uint)MY_MIN(UINT_MAX,table->in_use->variables.group_concat_max_len);
copy_length= table->in_use->variables.group_concat_max_len;
if (new_length > copy_length)
{
new_length= Well_formed_prefix(cs,