diff options
author | unknown <mysqldev@mysql.com> | 2005-03-17 22:15:23 +0100 |
---|---|---|
committer | unknown <mysqldev@mysql.com> | 2005-03-17 22:15:23 +0100 |
commit | cc9e66f5654ee6610c7c1a1e51ec3bfaaf419dd2 (patch) | |
tree | c398d3eabded7f37c040462d80746e301f90332e /mysql-test/r/sp_trans.result | |
parent | c76b98e753b90738577dadb25ff4343732d213d7 (diff) | |
download | mariadb-git-cc9e66f5654ee6610c7c1a1e51ec3bfaaf419dd2.tar.gz |
sp.test, sp.result:
transactional test removed
sp_trans.test, sp_trans.result:
new file
mysql-test/r/sp.result:
transactional test removed
mysql-test/t/sp.test:
transactional test removed
Diffstat (limited to 'mysql-test/r/sp_trans.result')
-rw-r--r-- | mysql-test/r/sp_trans.result | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/mysql-test/r/sp_trans.result b/mysql-test/r/sp_trans.result new file mode 100644 index 00000000000..0a28fae3c0d --- /dev/null +++ b/mysql-test/r/sp_trans.result @@ -0,0 +1,22 @@ +drop procedure if exists sp1; +create table t1 (a int) engine=innodb| +create procedure sp1 () +begin +truncate table t1; insert t1 values (1); rollback; +end| +set autocommit=0; +insert t1 values (2); +call sp1(); +ERROR HY000: Can't execute the given command because you have active locked tables or an active transaction +commit; +select * from t1; +a +2 +call sp1(); +ERROR HY000: Can't execute the given command because you have active locked tables or an active transaction +set autocommit=1; +select * from t1; +a +2 +drop table t1; +drop procedure sp1; |