mariadb/mysql-test/t/rollback.test
antony@ltantony.rdg.cyberkinetica.homeunix.net fcf96dbb18 WorkLog#1323
Deprecate the use of TYPE=... Preferred syntax is ENGINE=
2003-12-10 04:31:42 +00:00

21 lines
406 B
Text

#
# This test should fail as MyISAM doesn't have rollback
#
--disable_warnings
drop table if exists t1;
--enable_warnings
create table t1 (n int not null primary key) engine=myisam;
begin work;
insert into t1 values (4);
insert into t1 values (5);
rollback;
select @@warning_count;
select @@error_count;
show warnings;
show errors;
select * from t1;
select @@warning_count;
show warnings;
drop table t1;