~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/suite/transaction_log/r/delete.result

Merging Jay

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
INSERT INTO t1 VALUES (1, "I love testing.");
8
8
INSERT INTO t1 VALUES (2, "I hate testing.");
9
9
DELETE FROM t1 where id = 1;
 
10
DROP TABLE t1;
 
11
CREATE TABLE t1 (
 
12
id INT NOT NULL
 
13
, other INT NOT NULL
 
14
, PRIMARY KEY (id)
 
15
);
 
16
INSERT INTO t1 VALUES (1, 1);
 
17
INSERT INTO t1 VALUES (2, 2);
 
18
INSERT INTO t1 VALUES (3, 3);
 
19
INSERT INTO t1 VALUES (4, 4);
 
20
INSERT INTO t1 VALUES (5, 5);
 
21
INSERT INTO t1 VALUES (6, 6);
 
22
INSERT INTO t1 VALUES (7, 7);
 
23
INSERT INTO t1 VALUES (8, 8);
 
24
DELETE FROM t1;
 
25
DROP TABLE t1;
10
26
DROP TABLE IF EXISTS `t1`;
11
27
CREATE TABLE t1 ( id INT NOT NULL , padding VARCHAR(200) NOT NULL , PRIMARY KEY (id) );
12
28
INSERT INTO `test`.`t1` (`id`,`padding`) VALUES (1,'I love testing.');
13
29
INSERT INTO `test`.`t1` (`id`,`padding`) VALUES (2,'I hate testing.');
14
30
DELETE FROM `test`.`t1` WHERE `id`=1;
 
31
DROP TABLE `t1`;
 
32
CREATE TABLE t1 ( id INT NOT NULL , other INT NOT NULL , PRIMARY KEY (id) );
 
33
INSERT INTO `test`.`t1` (`id`,`other`) VALUES (1,1);
 
34
INSERT INTO `test`.`t1` (`id`,`other`) VALUES (2,2);
 
35
INSERT INTO `test`.`t1` (`id`,`other`) VALUES (3,3);
 
36
INSERT INTO `test`.`t1` (`id`,`other`) VALUES (4,4);
 
37
INSERT INTO `test`.`t1` (`id`,`other`) VALUES (5,5);
 
38
INSERT INTO `test`.`t1` (`id`,`other`) VALUES (6,6);
 
39
INSERT INTO `test`.`t1` (`id`,`other`) VALUES (7,7);
 
40
INSERT INTO `test`.`t1` (`id`,`other`) VALUES (8,8);
 
41
START TRANSACTION;
 
42
DELETE FROM `test`.`t1` WHERE `id`=1;
 
43
DELETE FROM `test`.`t1` WHERE `id`=2;
 
44
DELETE FROM `test`.`t1` WHERE `id`=3;
 
45
DELETE FROM `test`.`t1` WHERE `id`=4;
 
46
DELETE FROM `test`.`t1` WHERE `id`=5;
 
47
DELETE FROM `test`.`t1` WHERE `id`=6;
 
48
DELETE FROM `test`.`t1` WHERE `id`=7;
 
49
DELETE FROM `test`.`t1` WHERE `id`=8;
 
50
COMMIT;
 
51
DROP TABLE `t1`;
15
52
SET GLOBAL transaction_log_truncate_debug= true;