~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/savepoints.result

Merge Joe, plus I updated the tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
UPDATE t1 SET id = 2 WHERE id != 2 LIMIT 0;
6
6
SAVEPOINT A;
7
7
End Test of Bug 534806
8
 
COMMIT;
9
8
DROP TABLE t1;
10
9
CREATE TABLE t1 (id INT NOT NULL PRIMARY KEY);
11
10
START TRANSACTION;
21
20
2
22
21
3
23
22
START TRANSACTION;
24
 
Warnings:
25
 
Warning 1746    There is already a transaction in progress
26
23
INSERT INTO t1 VALUES (4);
27
24
SAVEPOINT A;
28
25
INSERT INTO t1 VALUES (5);
35
32
2
36
33
3
37
34
START TRANSACTION;
38
 
Warnings:
39
 
Warning 1746    There is already a transaction in progress
40
35
INSERT INTO t1 VALUES (4);
41
36
SAVEPOINT A;
42
37
INSERT INTO t1 VALUES (5);
50
45
2
51
46
3
52
47
4
53
 
COMMIT;
54
48
DROP TABLE t1;
55
49
Start Test of Bug 542299
56
50
CREATE TABLE t1 (a int,id integer auto_increment,b int,/*Indices*/key (a ),primary key (id)) ENGINE=innodb;
63
57
INSERT INTO t1 ( a, b ) VALUES ( 1 , 9 );
64
58
ROLLBACK TO SAVEPOINT A;
65
59
End Test of Bug 542299
66
 
COMMIT;
67
 
DROP TABLE t1;