~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/embedded_innodb/tests/t/basic_savepoint.test

  • 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
rollback to savepoint A;
 
8
select count(*) from t1;
 
9
commit;
 
10
select count(*) from t1;
 
11
begin;
 
12
insert into t1 values (2);
 
13
insert into t1 values (2);
 
14
savepoint A;
 
15
insert into t1 values (2);
 
16
insert into t1 values (2);
 
17
savepoint B;
 
18
insert into t1 values (2);
 
19
savepoint C;
 
20
insert into t1 values (2);
 
21
rollback to savepoint A;
 
22
select count(*) from t1;
 
23
commit;
 
24
drop table t1;
 
25