mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
887172a466
mysql-test/r/innodb.result: Minor fixes mysql-test/r/rpl_ddl.result: Merge fixes mysql-test/r/sp_trans.result: TRUNCATE now makes implicit commit mysql-test/t/sp_trans.test: No error since we have inplicit commit
18 lines
339 B
Text
18 lines
339 B
Text
drop procedure if exists bug8850|
|
|
create table t1 (a int) engine=innodb|
|
|
create procedure bug8850()
|
|
begin
|
|
truncate table t1; insert t1 values (1); rollback;
|
|
end|
|
|
set autocommit=0|
|
|
insert t1 values (2)|
|
|
call bug8850()|
|
|
commit|
|
|
select * from t1|
|
|
a
|
|
call bug8850()|
|
|
set autocommit=1|
|
|
select * from t1|
|
|
a
|
|
drop table t1|
|
|
drop procedure bug8850|
|