2
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
5
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
7
SHOW VARIABLES LIKE 'relay_log_space_limit';
9
relay_log_space_limit 0
10
CREATE TABLE t1 (name varchar(64), age smallint(3))ENGINE=MyISAM;
11
INSERT INTO t1 SET name='Andy', age=31;
12
INSERT INTO t1 SET name='Jacob', age=2;
13
INSERT INTO t1 SET name='Caleb', age=1;
14
ALTER TABLE t1 ADD id int(8) ZEROFILL AUTO_INCREMENT PRIMARY KEY;
15
SELECT * FROM t1 ORDER BY id;
20
SELECT * FROM t1 ORDER BY id;