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 |
Current File : //usr/opt/mysql57/mysql-test/suite/x/t/stmtexecute_query_no_result.test |
## generated ## Test query with no resultset --source ../include/xplugin_preamble.inc ## Test starts here --write_file $MYSQL_TMP_DIR/stmtexecute_query_no_result.tmp ## Test data -->sql drop schema if exists xtest; create schema xtest; use xtest; create table mytable (pk int primary key auto_increment, data varchar(100)); delimiter // create procedure result_and_error () begin select 1; select * from invalid_table; end// -->endsql Mysqlx.Sql.StmtExecute { stmt: "insert into mytable values (DEFAULT, \'one\')" } ## expect Mysqlx.Sql.StmtExecuteOk -->recvresult Mysqlx.Sql.StmtExecute { stmt: "insert into mytable values (DEFAULT, \'two\')" } ## expect Mysqlx.Sql.StmtExecuteOk -->recvresult Mysqlx.Sql.StmtExecute { stmt: "insert into mytable values (DEFAULT, \'three\')" } ## expect Mysqlx.Sql.StmtExecuteOk -->recvresult ## Cleanup -->sql drop schema if exists xtest; -->endsql EOF --exec $MYSQLXTEST -uroot --password='' --file=$MYSQL_TMP_DIR/stmtexecute_query_no_result.tmp 2>&1 --remove_file $MYSQL_TMP_DIR/stmtexecute_query_no_result.tmp ## Postamble uninstall plugin mysqlx;