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