~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: lbieber
  • Date: 2010-09-12 22:13:05 UTC
  • mfrom: (1746.7.8 rollback_to_savepoint)
  • mto: This revision was merged to the branch mainline in revision 1760.
  • Revision ID: lbieber@orisndriz08-20100912221305-2sh6cp1vl7k0wefy
Merge Joe - fix bug 600032 - Rollback to savepoint not handled correctly in transaction log

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
ROLLBACK TO SAVEPOINT savept3;
 
50
COMMIT;
 
51
 
36
52
DROP TABLE t1;
37
53
 
38
54
# The transaction log at this point should not