mariadb/mysql-test/t/rollback.test
monty@donna.mysql.com c0f40d14cc Added support for hex strings to mysqlimport
A lot of new tests to mysqltest
Fixed bug with BDB tables and autocommit
2000-12-28 03:56:38 +02:00

14 lines
284 B
Text

#
# 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;