~drizzle-trunk/drizzle/development

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--source include/have_linux.inc
SET SESSION storage_engine=pbxt;
create table t1 (a int primary key);
begin;
insert into t1 values (1);
savepoint A;
insert into t1 values (2);
select count(*) from t1;
rollback to savepoint A;
select count(*) from t1;
commit;
select count(*) from t1;
begin;
insert into t1 values (2);
insert into t1 values (3);
savepoint A;
insert into t1 values (4);
insert into t1 values (5);
savepoint B;
insert into t1 values (6);
savepoint C;
insert into t1 values (7);
rollback to savepoint A;
select count(*) from t1;
commit;
drop table t1;