mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Merge new tests
mysql-test/r/join_outer.result: Update results mysql-test/t/join_outer.test: Merge
This commit is contained in:
@ -614,4 +614,13 @@ SELECT * FROM t1 LEFT JOIN t2 ON t1.a=t2.a WHERE not(0+(t1.a=30 and t2.b=1));
|
||||
|
||||
DROP TABLE t1,t2;
|
||||
|
||||
|
||||
# Bug #8681: Bad warning message when group_concat() exceeds max length
|
||||
set group_concat_max_len=5;
|
||||
create table t1 (a int, b varchar(20));
|
||||
create table t2 (a int, c varchar(20));
|
||||
insert into t1 values (1,"aaaaaaaaaa"),(2,"bbbbbbbbbb");
|
||||
insert into t2 values (1,"cccccccccc"),(2,"dddddddddd");
|
||||
select group_concat(t1.b,t2.c) from t1 left join t2 using(a) group by t1.a;
|
||||
select group_concat(t1.b,t2.c) from t1 inner join t2 using(a) group by t1.a;
|
||||
drop table t1, t2;
|
||||
set group_concat_max_len=default;
|
||||
|
Reference in New Issue
Block a user