~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2010-10-02 14:17:48 UTC
  • mfrom: (1.1.1 upstream)
  • mto: (2.1.17 sid)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20101002141748-m6vbfbfjhrw1153e
Tags: 2010.09.1802-1
* New upstream release.
* Removed pid-file argument hack.
* Updated GPL-2 address to be new address.
* Directly copy in drizzledump.1 since debian doesn't have sphinx 1.0 yet.
* Link to jquery from libjs-jquery. Add it as a depend.
* Add drizzled.8 symlink to the install files.

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;