1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +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

@ -1280,5 +1280,17 @@ Name_exp_1
DROP VIEW v1;
DROP TABLE t1;
#
# MDEV-4677 GROUP_CONCAT not showing any output with group_concat_max_len >= 4Gb
#
set group_concat_max_len=1024*1024*1024*4;
Warnings:
Warning 1292 Truncated incorrect group_concat_max_len value: '4294967296'
create table t1 (i int, j int);
insert into t1 values (1,1),(1,2);
select i, group_concat(j) from t1 group by i;
i group_concat(j)
1 1,2
drop table t1;
#
# End of 10.2 tests
#