config root man

Current Path : /home/usr.opt/mysql57/mysql-test/suite/x/r/

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
Upload File :
Current File : //home/usr.opt/mysql57/mysql-test/suite/x/r/crud_find_doc_groupby.result

install plugin mysqlx soname "mysqlx.so";
call mtr.add_suppression("Plugin mysqlx reported: .Failed at SSL configuration: .SSL context is not usable without certificate and private key..");
call mtr.add_suppression("Plugin mysqlx reported: .SSL_CTX_load_verify_locations failed.");
DROP SCHEMA IF EXISTS xtest;
Warnings:
Note	1008	Can't drop database 'xtest'; database doesn't exist
CREATE SCHEMA xtest DEFAULT CHARSET 'utf8mb4';
CREATE TABLE xtest.xcoll (doc JSON, _id VARBINARY(16) GENERATED ALWAYS AS (JSON_UNQUOTE(JSON_EXTRACT(doc, '$._id'))) STORED PRIMARY KEY);
INSERT INTO xtest.xcoll (doc) VALUES
('{"_id": 1, "age": 1, "name": "foo"}'),
('{"_id": 2, "age": 2, "name": "bar"}'),
('{"_id": 3, "age": 3, "name": "baz", "date": {"day": 20, "month": "Apr"}} '),
('{"_id": 4, "age": 7, "name": "foo"}'),
('{"_id": 5, "age": 17, "name": "buz"}');
group by name
doc
{"name": "bar"}
{"name": "baz"}
{"name": "buz"}
{"name": "foo"}
command ok
group by name and count
doc
{"name": "bar", "count": 1}
{"name": "baz", "count": 1}
{"name": "buz", "count": 1}
{"name": "foo", "count": 2}
command ok
group by name, age and count
doc
{"age": 2, "name": "bar", "count": 1}
{"age": 3, "name": "baz", "count": 1}
{"age": 17, "name": "buz", "count": 1}
{"age": 1, "name": "foo", "count": 1}
{"age": 7, "name": "foo", "count": 1}
command ok
no projection - error expected
Got expected error: Invalid empty projection list for grouping (code 5114)
group by name, count name and criteria on count
Got expected error: Invalid expression in grouping criteria (code 5154)
group by name, criteria on max(age)
doc
{"my_age": "17", "my_name": "buz"}
{"my_age": "7", "my_name": "foo"}
command ok
Mysqlx.Ok {
  msg: "bye!"
}
ok
DROP SCHEMA IF EXISTS xtest;
UNINSTALL PLUGIN mysqlx;

Man Man