~drizzle-trunk/drizzle/development

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
DROP TABLE IF EXISTS t1, t2;
CREATE TABLE t1 (
id INT NOT NULL
, padding VARCHAR(200) NOT NULL
, PRIMARY KEY (id)
);
RENAME TABLE t1 TO t2;
DROP TABLE t2;
START TRANSACTION;
CREATE TABLE `test`.`t1` (   `id` INT NOT NULL,   `padding` VARCHAR(200) COLLATE utf8_general_ci NOT NULL,   PRIMARY KEY (`id`) ) ENGINE=InnoDB COLLATE = utf8_general_ci;
COMMIT;
START TRANSACTION;
RENAME TABLE t1 TO t2;
COMMIT;
START TRANSACTION;
DROP TABLE `test`.`t2`;
COMMIT;

Generating statements for innodb replication log
START TRANSACTION;
CREATE TABLE `test`.`t1` (   `id` INT NOT NULL,   `padding` VARCHAR(200) COLLATE utf8_general_ci NOT NULL,   PRIMARY KEY (`id`) ) ENGINE=InnoDB COLLATE = utf8_general_ci;
COMMIT;
START TRANSACTION;
RENAME TABLE t1 TO t2;
COMMIT;
START TRANSACTION;
DROP TABLE `test`.`t2`;
COMMIT;
SET GLOBAL transaction_log_truncate_debug= true;