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

« back to all changes in this revision

Viewing changes to plugin/transaction_log/tests/t/rollback.inc

  • 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:
33
33
 
34
34
ROLLBACK;
35
35
 
 
36
START TRANSACTION;
 
37
INSERT INTO t1 VALUES (1, "I love testing.");
 
38
SAVEPOINT `savept1`;
 
39
INSERT INTO t1 VALUES (2, "I hate testing.");
 
40
ROLLBACK TO SAVEPOINT savept1;
 
41
COMMIT;
 
42
 
 
43
START TRANSACTION;
 
44
SAVEPOINT `savept2`;
 
45
INSERT INTO t1 VALUES (2, "I hate testing.");
 
46
RELEASE SAVEPOINT `savept2`;
 
47
SAVEPOINT `savept3`;
 
48
INSERT INTO t1 VALUES (3, "I love testing.");
 
49
SAVEPOINT `savept4`;
 
50
ROLLBACK TO SAVEPOINT savept3;
 
51
COMMIT;
 
52
 
36
53
DROP TABLE t1;
37
54
 
38
55
# The transaction log at this point should not