polardbxengine/mysql-test/suite/x/t/admin_bogus_mysqlx.test

38 lines
650 B
Plaintext

## generated
## Invalid admin command
--source include/xplugin_preamble.inc
--source include/xplugin_create_user.inc
## Test starts here
--let $xtest_file= $MYSQL_TMP_DIR/admin_bogus_mysqlx.tmp
--write_file $xtest_file
-->quiet
Mysqlx.Sql.StmtExecute {
stmt: "whatever"
namespace: "mysqlx"
}
-->expecterror 5157
-->recvresult
Mysqlx.Sql.StmtExecute {
stmt: "whatever"
namespace: "bogus"
}
-->expecterror 5162
-->recvresult
-->sql
SHOW STATUS LIKE 'Mysqlx_stmt_execute_mysqlx';
-->endsql
EOF
--exec $MYSQLXTEST -ux_root --password='' --file=$xtest_file 2>&1
## Cleanup
--remove_file $xtest_file
--source include/xplugin_drop_user.inc