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/client_close_abort.result

# restart
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.");
call mtr.add_suppression('Message of size 4294967040 received, exceeding the limit of 1048576');
call mtr.add_suppression('22.1: Unsuccessful login attempt: Invalid user or password');
select sleep(1);
sleep(1)
0
SELECT `user`,`host`,`db`,`command`,`state`,`info` FROM INFORMATION_SCHEMA.PROCESSLIST WHERE `state` != 'cleaning up';
user	host	db	command	state	info
root	localhost	test	Query	executing	SELECT `user`,`host`,`db`,`command`,`state`,`info` FROM INFORMATION_SCHEMA.PROCESSLIST WHERE `state` != 'cleaning up'

Close in a pipeline and try to do something after close
-------------------------------------------------------
connecting...
active session is now 'sess'
send Mysqlx.Sql.StmtExecute {
  stmt: "select 4.1"
}

send Mysqlx.Sql.StmtExecute {
  stmt: "select 4.2"
}

send Mysqlx.Session.Close {
}

send Mysqlx.Sql.StmtExecute {
  stmt: "select \'fail\'"
}

Got expected error (one of: 0 2007 )
4.1
4.1
0 rows affected
4.2
4.2
0 rows affected
Mysqlx.Ok {
  msg: "bye!"
}

Got expected error (one of: 2006 2007 )
aborting session sess
switched to session default
Mysqlx.Ok {
  msg: "bye!"
}
ok
select sleep(1);
sleep(1)
0
show global status like 'mysqlx_sessions';
Variable_name	Value
Mysqlx_sessions	0
show global status like 'mysqlx_connections_%';
Variable_name	Value
Mysqlx_connections_accepted	2
Mysqlx_connections_closed	2
Mysqlx_connections_rejected	0
SELECT `user`,`host`,`db`,`command`,`state`,`info` FROM INFORMATION_SCHEMA.PROCESSLIST WHERE `state` != 'cleaning up';
user	host	db	command	state	info
root	localhost	test	Query	executing	SELECT `user`,`host`,`db`,`command`,`state`,`info` FROM INFORMATION_SCHEMA.PROCESSLIST WHERE `state` != 'cleaning up'
uninstall plugin mysqlx;

Man Man