~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/suite/transaction_log/r/update.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:
8
8
INSERT INTO t1 VALUES (2, "I hate testing.");
9
9
UPDATE t1 SET padding= "XXX" WHERE id= 1;
10
10
UPDATE t1 SET padding= "AAA";
11
 
/*  */
12
 
DROP Table IF EXISTS `t1`;
13
 
/*  */
 
11
DROP TABLE t1;
 
12
CREATE TABLE t1 (
 
13
id int AUTO_INCREMENT NOT NULL PRIMARY KEY
 
14
, name varchar(1024)
 
15
, alias varchar(1024)
 
16
);
 
17
INSERT INTO t1 (name,alias) VALUES ("jeff lebowski","dude");
 
18
UPDATE t1 SET alias = "the dude" WHERE alias = "dude";
 
19
DROP TABLE t1;
 
20
CREATE TABLE t1 (
 
21
id INT NOT NULL
 
22
, counter INT NOT NULL
 
23
, PRIMARY KEY (id)
 
24
);
 
25
INSERT INTO t1 (id, counter) VALUES (1,1),(2,2),(3,3);
 
26
UPDATE t1 SET counter = counter + 1 WHERE id = 1;
 
27
UPDATE t1 SET counter = counter + 1 WHERE id IN (2,3);
 
28
DROP TABLE t1;
 
29
DROP TABLE IF EXISTS `t1`;
14
30
CREATE TABLE t1 ( id INT NOT NULL , padding VARCHAR(200) NOT NULL , PRIMARY KEY (id) );
15
 
/*  */
16
 
INSERT INTO `test`.`t1` (`id`,`padding`) VALUES ('1','I love testing.');
17
 
/*  */
18
 
INSERT INTO `test`.`t1` (`id`,`padding`) VALUES ('2','I hate testing.');
19
 
/*  */
20
 
UPDATE `test`.`t1` SET `padding`='XXX' WHERE `id`='1';
21
 
/*  */
22
 
UPDATE `test`.`t1` SET `padding`='AAA' WHERE `id`='1';
23
 
/*  */
24
 
UPDATE `test`.`t1` SET `padding`='AAA' WHERE `id`='2';
25
 
SET GLOBAL command_log_truncate_debug= true;
 
31
INSERT INTO `test`.`t1` (`id`,`padding`) VALUES (1,'I love testing.');
 
32
INSERT INTO `test`.`t1` (`id`,`padding`) VALUES (2,'I hate testing.');
 
33
UPDATE `test`.`t1` SET `padding`='XXX' WHERE `id`=1;
 
34
START TRANSACTION;
 
35
UPDATE `test`.`t1` SET `padding`='AAA' WHERE `id`=1;
 
36
UPDATE `test`.`t1` SET `padding`='AAA' WHERE `id`=2;
 
37
COMMIT;
 
38
DROP TABLE `t1`;
 
39
CREATE TABLE t1 ( id int AUTO_INCREMENT NOT NULL PRIMARY KEY , name varchar(1024) , alias varchar(1024) );
 
40
INSERT INTO `test`.`t1` (`id`,`name`,`alias`) VALUES (1,'jeff lebowski','dude');
 
41
UPDATE `test`.`t1` SET `alias`='the dude' WHERE `id`=1;
 
42
DROP TABLE `t1`;
 
43
CREATE TABLE t1 ( id INT NOT NULL , counter INT NOT NULL , PRIMARY KEY (id) );
 
44
START TRANSACTION;
 
45
INSERT INTO `test`.`t1` (`id`,`counter`) VALUES (1,1);
 
46
INSERT INTO `test`.`t1` (`id`,`counter`) VALUES (2,2);
 
47
INSERT INTO `test`.`t1` (`id`,`counter`) VALUES (3,3);
 
48
COMMIT;
 
49
UPDATE `test`.`t1` SET `counter`=2 WHERE `id`=1;
 
50
START TRANSACTION;
 
51
UPDATE `test`.`t1` SET `counter`=3 WHERE `id`=2;
 
52
UPDATE `test`.`t1` SET `counter`=4 WHERE `id`=3;
 
53
COMMIT;
 
54
DROP TABLE `t1`;
 
55
SET GLOBAL transaction_log_truncate_debug= true;