mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Post-merge fixes
This commit is contained in:
@ -2323,6 +2323,18 @@ id select_type table type possible_keys key key_len ref rows Extra
|
||||
1 PRIMARY t3 ALL NULL NULL NULL NULL 3 Using where
|
||||
DROP VIEW v1,v2;
|
||||
DROP TABLE t1,t2,t3;
|
||||
create table t1 (f1 int, f2 int);
|
||||
insert into t1 values(1,1),(1,2),(1,3);
|
||||
create view v1 as select f1 ,group_concat(f2 order by f2 asc) from t1 group by f1;
|
||||
create view v2 as select f1 ,group_concat(f2 order by f2 desc) from t1 group by f1;
|
||||
select * from v1;
|
||||
f1 group_concat(f2 order by f2 asc)
|
||||
1 1,2,3
|
||||
select * from v2;
|
||||
f1 group_concat(f2 order by f2 desc)
|
||||
1 3,2,1
|
||||
drop view v1,v2;
|
||||
drop table t1;
|
||||
create table t1 (x int, y int);
|
||||
create table t2 (x int, y int, z int);
|
||||
create table t3 (x int, y int, z int);
|
||||
@ -2344,15 +2356,3 @@ count(*)
|
||||
0
|
||||
drop view v1;
|
||||
drop table t1,t2,t3,t4;
|
||||
create table t1 (f1 int, f2 int);
|
||||
insert into t1 values(1,1),(1,2),(1,3);
|
||||
create view v1 as select f1 ,group_concat(f2 order by f2 asc) from t1 group by f1;
|
||||
create view v2 as select f1 ,group_concat(f2 order by f2 desc) from t1 group by f1;
|
||||
select * from v1;
|
||||
f1 group_concat(f2 order by f2 asc)
|
||||
1 1,2,3
|
||||
select * from v2;
|
||||
f1 group_concat(f2 order by f2 desc)
|
||||
1 3,2,1
|
||||
drop view v1,v2;
|
||||
drop table t1;
|
||||
|
Reference in New Issue
Block a user