~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

Added code necessary for building plugins dynamically.
Merged in changes from lifeless to allow autoreconf to work.
Touching plugin.ini files now triggers a rebuid - so config/autorun.sh is no
longer required to be run after touching those.
Removed the duplicate plugin names - also removed the issue that getting them
different would silently fail weirdly later.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
DROP TABLE IF EXISTS t1, t2;
 
2
CREATE TABLE t1 (
 
3
id INT NOT NULL AUTO_INCREMENT PRIMARY KEY
 
4
, padding VARCHAR(200) NOT NULL
 
5
) ENGINE=InnoDB;
 
6
INSERT INTO t1 VALUES (1, "I love testing.");
 
7
INSERT INTO t1 VALUES (2, "I hate testing.");
 
8
REPLACE INTO t1 VALUE (2, "I love testing.");
 
9
DROP TABLE t1;
 
10
CREATE TABLE t1 (
 
11
id INT NOT NULL AUTO_INCREMENT PRIMARY KEY
 
12
, padding VARCHAR(200) NOT NULL
 
13
) ENGINE=InnoDB;
 
14
CREATE TABLE t2 (
 
15
id INT NOT NULL AUTO_INCREMENT PRIMARY KEY
 
16
, fk_id INT NOT NULL
 
17
, CONSTRAINT fk_t1 FOREIGN KEY (fk_id) REFERENCES t1 (id) ON DELETE CASCADE
 
18
) ENGINE=InnoDB;
 
19
INSERT INTO t1 VALUES (1, "I love testing.");
 
20
INSERT INTO t1 VALUES (2, "I hate testing.");
 
21
REPLACE INTO t1 VALUE (2, "I love testing.");
 
22
DROP TABLE t2, t1;
 
23
DROP TABLE IF EXISTS `t1`;
 
24
DROP TABLE IF EXISTS `t2`;
 
25
CREATE TABLE t1 ( id INT NOT NULL AUTO_INCREMENT PRIMARY KEY , padding VARCHAR(200) NOT NULL ) ENGINE=InnoDB;
 
26
INSERT INTO `test`.`t1` (`id`,`padding`) VALUES (1,'I love testing.');
 
27
INSERT INTO `test`.`t1` (`id`,`padding`) VALUES (2,'I hate testing.');
 
28
UPDATE `test`.`t1` SET `padding`='I love testing.' WHERE `id`=2;
 
29
DROP TABLE `t1`;
 
30
CREATE TABLE t1 ( id INT NOT NULL AUTO_INCREMENT PRIMARY KEY , padding VARCHAR(200) NOT NULL ) ENGINE=InnoDB;
 
31
CREATE TABLE t2 ( id INT NOT NULL AUTO_INCREMENT PRIMARY KEY , fk_id INT NOT NULL , CONSTRAINT fk_t1 FOREIGN KEY (fk_id) REFERENCES t1 (id) ON DELETE CASCADE ) ENGINE=InnoDB;
 
32
INSERT INTO `test`.`t1` (`id`,`padding`) VALUES (1,'I love testing.');
 
33
INSERT INTO `test`.`t1` (`id`,`padding`) VALUES (2,'I hate testing.');
 
34
DELETE FROM `test`.`t1` WHERE `id`=2;
 
35
INSERT INTO `test`.`t1` (`id`,`padding`) VALUES (2,'I love testing.');
 
36
DROP TABLE `t2`;
 
37
DROP TABLE `t1`;
 
38
SET GLOBAL transaction_log_truncate_debug= true;