~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Jay Pipes
  • Date: 2010-04-08 16:27:25 UTC
  • mfrom: (1405.6.10 replication-pairs)
  • mto: This revision was merged to the branch mainline in revision 1457.
  • Revision ID: jpipes@serialcoder-20100408162725-sugbgn38oxjqclq2
Merge trunk and replication-pairs with conflict resolution

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
create table t1 (a int);
 
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 (2);
 
20
savepoint A;
 
21
insert into t1 values (2);
 
22
insert into t1 values (2);
 
23
savepoint B;
 
24
insert into t1 values (2);
 
25
savepoint C;
 
26
insert into t1 values (2);
 
27
rollback to savepoint A;
 
28
select count(*) from t1;
 
29
count(*)
 
30
3
 
31
commit;
 
32
drop table t1;