~posulliv/drizzle/optimizer-style-cleanup

« back to all changes in this revision

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

  • Committer: Padraig O'Sullivan
  • Date: 2010-04-17 01:38:47 UTC
  • mfrom: (1237.9.238 bad-staging)
  • Revision ID: osullivan.padraig@gmail.com-20100417013847-ibjioqsfbmf5yg4g
Merge trunk.

Show diffs side-by-side

added added

removed removed

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