mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 05:22:25 +01:00
15 lines
284 B
Text
15 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;
|