~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/pbxt/tests/r/basic_savepoint.result

  • Committer: Monty Taylor
  • Date: 2011-03-09 20:59:40 UTC
  • mfrom: (2226.1.14 build)
  • Revision ID: mordred@inaugust.com-20110309205940-7f5mk6zba2u7bawa
Merged Dave - Filtered Replication docs
Merged Olaf - Refactoring work
Removed archive, blackhole, filesystem_engine, blitzdb, csv and pbxt from
the tree pre-GA as we have no interest in supporting them moving forward.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
SET SESSION storage_engine=pbxt;
2
 
create table t1 (a int primary key);
3
 
begin;
4
 
insert into t1 values (1);
5
 
savepoint A;
6
 
insert into t1 values (2);
7
 
select count(*) from t1;
8
 
count(*)
9
 
2
10
 
rollback to savepoint A;
11
 
select count(*) from t1;
12
 
count(*)
13
 
1
14
 
commit;
15
 
select count(*) from t1;
16
 
count(*)
17
 
1
18
 
begin;
19
 
insert into t1 values (2);
20
 
insert into t1 values (3);
21
 
savepoint A;
22
 
insert into t1 values (4);
23
 
insert into t1 values (5);
24
 
savepoint B;
25
 
insert into t1 values (6);
26
 
savepoint C;
27
 
insert into t1 values (7);
28
 
rollback to savepoint A;
29
 
select count(*) from t1;
30
 
count(*)
31
 
3
32
 
commit;
33
 
drop table t1;