Current Path : /home/usr.opt/mysql57/mysql-test/suite/json/t/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : /home/usr.opt/mysql57/mysql-test/suite/json/t/json_group_concat_innodb.test |
########### suite/json/t/json_group_concat_innodb.test # # Tests group_concat json function using the innodb storage engine # # # # This test copies some tests originally in json.test # ###################################################################### # Set the session storage engine set default_storage_engine=innodb; --source suite/json/inc/json_group_concat.inc create table t(j json, c varchar(20)); show create table t; insert into t values (cast('[1,2,3]' as json), '[a,b,c]'); insert into t values (cast(7 as json), '7'), (cast(2 as json), '2'); insert into t values (cast(7 as json), '7'), (cast(2 as json), '2'); select group_concat(j), group_concat(distinct j), group_concat(c) from t; select group_concat(j order by j), group_concat(distinct j order by j), group_concat(c order by c) from t; insert into t values (NULL, NULL); select group_concat(j), group_concat(distinct j), group_concat(c) from t; # This test is disabled until bug 22353594 is resolved #select group_concat(j order by j), group_concat(distinct j order by j), group_concat(c order by c) from t; drop table t;