summaryrefslogtreecommitdiff
path: root/mysql-test/t/rollback.test
blob: 6ea2cca887f2dd006e9250b9765cc816d3d38bc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#
# This test should fail as MyISAM doesn't have rollback
#

drop table if exists t1;

create table t1 (n int not null primary key) type=myisam;
begin work;
insert into t1 values (4);
insert into t1 values (5);
# Should give an error
!$1196 rollback;
select * from t1;
drop table t1;