Loading mysql-test/r/sp.result +2 −1 Original line number Diff line number Diff line Loading @@ -2545,11 +2545,12 @@ begin truncate table t1; insert t1 values (1); rollback; end | begin; 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; set autocommit=1; select * from t1; a 2 Loading mysql-test/t/sp.test +2 −1 Original line number Diff line number Diff line Loading @@ -3087,11 +3087,12 @@ begin end | delimiter ;| begin; set autocommit=0; insert t1 values (2); --error 1192 call sp1(); commit; set autocommit=1; select * from t1; call sp1(); select * from t1; Loading Loading
mysql-test/r/sp.result +2 −1 Original line number Diff line number Diff line Loading @@ -2545,11 +2545,12 @@ begin truncate table t1; insert t1 values (1); rollback; end | begin; 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; set autocommit=1; select * from t1; a 2 Loading
mysql-test/t/sp.test +2 −1 Original line number Diff line number Diff line Loading @@ -3087,11 +3087,12 @@ begin end | delimiter ;| begin; set autocommit=0; insert t1 values (2); --error 1192 call sp1(); commit; set autocommit=1; select * from t1; call sp1(); select * from t1; Loading