~drizzle-trunk/drizzle/development

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
DROP TABLE IF EXISTS t1, t2;
CREATE TEMPORARY TABLE t1 (
id INT NOT NULL
, padding VARCHAR(200) NOT NULL
);
INSERT INTO t1 VALUES (1, "I love testing.");
INSERT INTO t1 VALUES (2, "I hate testing.");
CREATE TABLE t2 LIKE t1;
INSERT INTO t2 SELECT * FROM t1;
DROP TABLE t1;
DROP TABLE t2;
DROP TABLE IF EXISTS `t1`;
DROP TABLE IF EXISTS `t2`;
CREATE TABLE `t2` (   `id` int NOT NULL,   `padding` varchar(200) NOT NULL );
START TRANSACTION;
INSERT INTO `test`.`t2` (`id`,`padding`) VALUES (1,'I love testing.');
INSERT INTO `test`.`t2` (`id`,`padding`) VALUES (2,'I hate testing.');
COMMIT;
DROP TABLE `t2`;
SET GLOBAL transaction_log_truncate_debug= true;