Current Path : /home/usr.opt/mysql57/mysql-test/suite/sysschema/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 : /home/usr.opt/mysql57/mysql-test/suite/sysschema/t/pr_execute_prepared_stmt.test |
-- source include/not_embedded.inc # Do some valid changes, ensure they are successful SET @sql := "CREATE TABLE test.t1 (i INT)"; CALL sys.execute_prepared_stmt(@sql); SHOW CREATE TABLE test.t1; SET @sql := CONCAT('INSERT INTO test.t1 VALUES (', 1, ')'); CALL sys.execute_prepared_stmt(@sql); SELECT * FROM test.t1; SET @sql := "DROP TABLE test.t1"; CALL sys.execute_prepared_stmt(@sql); SHOW TABLES; SET @sql = NULL; # Invalid inputs -- error S45000 CALL sys.execute_prepared_stmt(NULL); -- error S45000 CALL sys.execute_prepared_stmt('foo');