1
by brian
clean slate |
1 |
stop slave;
|
2 |
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
3 |
reset master;
|
|
4 |
reset slave;
|
|
5 |
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
6 |
start slave;
|
|
7 |
CREATE TABLE t1 (a VARCHAR(10) PRIMARY KEY) ENGINE=MyISAM;
|
|
8 |
INSERT INTO t1 VALUES ('a');
|
|
9 |
UPDATE t1 SET a = 'MyISAM';
|
|
10 |
SELECT * FROM t1 ORDER BY a;
|
|
11 |
a
|
|
12 |
MyISAM
|
|
13 |
SELECT * FROM t1 ORDER BY a;
|
|
14 |
a
|
|
15 |
MyISAM
|
|
16 |
DROP TABLE t1;
|