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/crud_resultset_metadata.test

## Check column metadata 
--source ../include/xplugin_preamble.inc

DROP SCHEMA IF EXISTS xtest;
CREATE SCHEMA xtest;
CREATE TABLE xtest.xtable (x INT AUTO_INCREMENT PRIMARY KEY, y VARCHAR(1) NOT NULL, z INT UNSIGNED UNIQUE);
INSERT INTO xtest.xtable VALUES (1,2,3);

CREATE TABLE xtest.ytable (a INT ZEROFILL, b TIMESTAMP, c FLOAT UNSIGNED, INDEX(a));
INSERT INTO xtest.ytable VALUES (1,'2015-02-15',3);

## Test starts here
--write_file $MYSQL_TMP_DIR/crud_resultset_metadata.tmp
## Test data
-->quiet
-->macro Select %TABLE%
Mysqlx.Crud.Find {
  collection {
    name: "%TABLE%"
    schema: "xtest"
  }
  data_model: TABLE
}
-->recvresult print-columnsinfo
-->endmacro

-->callmacro Select xtable
-->callmacro Select ytable
EOF

--exec $MYSQLXTEST -uroot --password='' --file=$MYSQL_TMP_DIR/crud_resultset_metadata.tmp 2>&1


## Cleanup
--remove_file $MYSQL_TMP_DIR/crud_resultset_metadata.tmp

## Postamble
DROP SCHEMA IF EXISTS xtest;
UNINSTALL PLUGIN mysqlx;

Man Man