config root man

Current Path : /usr/opt/mysql57/mysql-test/suite/x/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
Upload File :
Current File : //usr/opt/mysql57/mysql-test/suite/x/t/admin_ping_mysqlx.test

## generated
## Ping

--source ../include/xplugin_preamble.inc

create user abc@localhost identified by 'abc';
## Test starts here
--let $xtest_file= $MYSQL_TMP_DIR/admin_ping_mysqlx.tmp
--write_file $xtest_file
-->quiet

-->stmtadmin ping
-->recvresult


-->stmtadmin ping	{}
-->recvresult


-->stmtadmin ping	{"schema":"xtest"}
-->expecterror 5015
-->recvresult


-->stmtadmin ping	"xtest"
-->expecterror 5016
-->recvresult


-->stmtadmin ping	42
-->expecterror 5016
-->recvresult


-->stmtadmin ping	[42]
-->expecterror 5016
-->recvresult


-->stmtadmin ping	null
-->expecterror 5016
-->recvresult

-->sql
SHOW STATUS LIKE 'Mysqlx_stmt_execute_mysqlx';
-->endsql

-->echo create and activate new session abc
-->echo expect Mysqlx_stmt_execute_mysqlx=1
-->newsession abc	abc	abc

Mysqlx.Sql.StmtExecute {
  stmt: "ping"
  namespace: "mysqlx"
}

## expect Mysqlx.Sql.StmtExecuteOk
-->recvresult
-->sql
SHOW STATUS LIKE 'Mysqlx_stmt_execute_mysqlx';
-->endsql
EOF
--exec $MYSQLXTEST -uroot --password='' --file=$xtest_file 2>&1

## To Get total count of Mysqlx_stmt_execute_mysqlx for all sessions.
SHOW STATUS LIKE 'Mysqlx_stmt_execute_mysqlx';

## Postamble
--remove_file $xtest_file
DROP USER abc@localhost;
uninstall plugin mysqlx;

Man Man