Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
5.5(EOL), 10.0(EOL), 10.1(EOL), 10.2(EOL)
-
None
-
10.2.4-5, 10.2.7-1
Description
Here is a simple test case demonstrating the problem. This problem is hit only in the case when records from all
the rows cannot fit in the Unique object
create table t1 ( |
a VARCHAR(1000), |
b int |
);
|
insert into t1 values |
( 0 , 1 ),
|
( 1 , 2 ),
|
( 2 , 3 ),
|
( 3 , 4 ),
|
( 4 , 5 ),
|
( 5 , 6 ),
|
( 0 , 11 ),
|
( 5 , 16 );
|
set tmp_table_size=1024; |
select group_concat(distinct a) from t1; |
drop table t1; |
Attachments
Issue Links
- duplicates
-
MDEV-21879 GROUP_CONCAT(DISTINCT) with little memory
- Closed
- relates to
-
MDEV-11297 Add support for LIMIT clause in GROUP_CONCAT()
- Closed
-
MDEV-22011 DISTINCT with JSON_ARRAYAGG gives wrong results
- Closed
-
MDEV-22089 Group concat returns incorrect result when using DISTINCT and ORDER BY
- Stalled
- links to