mysql5/mysql-5.7.27/rapid/plugin/x/tests/mtr/t/admin_bogus.test

34 lines
600 B
Plaintext

## generated
## Invalid admin command
--source ../include/xplugin_preamble.inc
## Test starts here
--write_file $MYSQL_TMP_DIR/admin_bogus.tmp
Mysqlx.Sql.StmtExecute {
stmt: "whatever"
namespace: "xplugin"
}
## expect Mysqlx.Error
-->expecterror 5157
-->recvresult
Mysqlx.Sql.StmtExecute {
stmt: "whatever"
namespace: "bogus"
}
## expect Mysqlx.Error
-->recv
## Cleanup
-->sql
drop schema if exists xtest;
-->endsql
EOF
--exec $MYSQLXTEST -uroot --password='' --file=$MYSQL_TMP_DIR/admin_bogus.tmp 2>&1
--remove_file $MYSQL_TMP_DIR/admin_bogus.tmp
## Postamble
uninstall plugin mysqlx;