~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
30
31
32
33
34
35
DROP TABLE IF EXISTS t1;
CREATE TABLE t1 (
id INT NOT NULL
, PRIMARY KEY (id)
);
INSERT INTO t1 VALUES (1);
INSERT INTO t1 SELECT RAND(100)*100 FROM t1;
DROP TABLE t1;
SET AUTOCOMMIT=0;
CREATE TABLE `test`.`t1` (   `id` INT NOT NULL,   PRIMARY KEY (`id`) USING BTREE ) ENGINE=InnoDB COLLATE = utf8_general_ci;
COMMIT;
START TRANSACTION;
INSERT INTO `test`.`t1` (`id`) VALUES (1);
COMMIT;
START TRANSACTION;
INSERT INTO `test`.`t1` (`id`) VALUES (17);
COMMIT;
SET AUTOCOMMIT=0;
DROP TABLE `test`.`t1`;
COMMIT;

Generating statements for innodb replication log
SET AUTOCOMMIT=0;
CREATE TABLE `test`.`t1` (   `id` INT NOT NULL,   PRIMARY KEY (`id`) USING BTREE ) ENGINE=InnoDB COLLATE = utf8_general_ci;
COMMIT;
START TRANSACTION;
INSERT INTO `test`.`t1` (`id`) VALUES (1);
COMMIT;
START TRANSACTION;
INSERT INTO `test`.`t1` (`id`) VALUES (17);
COMMIT;
SET AUTOCOMMIT=0;
DROP TABLE `test`.`t1`;
COMMIT;
SET GLOBAL transaction_log_truncate_debug= true;