summaryrefslogtreecommitdiff
path: root/mysql-test/r/sp_trans.result
diff options
context:
space:
mode:
authorunknown <pem@mysql.comhem.se>2005-03-18 14:33:46 +0100
committerunknown <pem@mysql.comhem.se>2005-03-18 14:33:46 +0100
commit7e79e70515f8f416df42ad095ab89cca9687b65f (patch)
treeb15c04fd14f6bf38bfe19db5169e4b5e4cc31a91 /mysql-test/r/sp_trans.result
parent0f58efbd487dd1b82c6dd3b5e60304a168793eea (diff)
downloadmariadb-git-7e79e70515f8f416df42ad095ab89cca9687b65f.tar.gz
Did some SP test style changes and added explanatory comments,
and removed a have_innodb.inc inclusion which was left by mistake in an earlier change. mysql-test/r/sp_trans.result: Changed procedure name and delimiter setting to follow the style of the other SP test files. mysql-test/t/sp-error.test: Added comment with hint for bug test case style. mysql-test/t/sp-threads.test: Added comments, with hint for bug test case style. mysql-test/t/sp.test: Removed have_innodb.inc inclusion. Added comments about different SP test files, table usage and hint for bug test case style. mysql-test/t/sp_trans.test: Changed procedure name and delimiter setting to follow the style of the other SP test files.
Diffstat (limited to 'mysql-test/r/sp_trans.result')
-rw-r--r--mysql-test/r/sp_trans.result24
1 files changed, 12 insertions, 12 deletions
diff --git a/mysql-test/r/sp_trans.result b/mysql-test/r/sp_trans.result
index 0a28fae3c0d..dee87979ff4 100644
--- a/mysql-test/r/sp_trans.result
+++ b/mysql-test/r/sp_trans.result
@@ -1,22 +1,22 @@
-drop procedure if exists sp1;
+drop procedure if exists bug8850|
create table t1 (a int) engine=innodb|
-create procedure sp1 ()
+create procedure bug8850()
begin
truncate table t1; insert t1 values (1); rollback;
end|
-set autocommit=0;
-insert t1 values (2);
-call sp1();
+set autocommit=0|
+insert t1 values (2)|
+call bug8850()|
ERROR HY000: Can't execute the given command because you have active locked tables or an active transaction
-commit;
-select * from t1;
+commit|
+select * from t1|
a
2
-call sp1();
+call bug8850()|
ERROR HY000: Can't execute the given command because you have active locked tables or an active transaction
-set autocommit=1;
-select * from t1;
+set autocommit=1|
+select * from t1|
a
2
-drop table t1;
-drop procedure sp1;
+drop table t1|
+drop procedure bug8850|