[MDEV-28490] Strange result truncation with group_concat_max_len=1GB Created: 2022-05-06 Updated: 2022-08-18 Resolved: 2022-05-16 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Configuration |
| Affects Version/s: | 10.5.15, 10.6.7, 10.7.3, 10.8.2 |
| Fix Version/s: | 10.5.16, 10.6.8, 10.7.4, 10.8.3 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Hartmut Holzgraefe | Assignee: | Alexey Botchkov |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Description |
|
When setting group_concat_max_len to exactly one GB (1073741824) or more and using GROUP_CONCAT() in a subquery the result gets truncated as if the actual group concat limit had been set to the given value modulo 1073741824. How to reproduce:
Expected result:
Actual result:
|
| Comments |
| Comment by Hartmut Holzgraefe [ 2022-05-06 ] |
|
10.4 and earlier are not affected, this only started with 10.5 |
| Comment by Hartmut Holzgraefe [ 2022-05-06 ] |
|
Actually started between 10.5.3 and 10.5.4 |
| Comment by Hartmut Holzgraefe [ 2022-05-06 ] |
|
from looking at 10.5.4 changelog the most likely candidates for having introduced this seem to be: |
| Comment by Alexey Botchkov [ 2022-05-16 ] |
|
fixing patch |