summaryrefslogtreecommitdiff
path: root/mysql-test/suite/rpl/t/rpl_create_drop_index.test
blob: f1b653491b3c8d6b8d3a64aab03d552986a4cf24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--source include/master-slave.inc

connection master;

CREATE TABLE t1 (a INT, b INT);
CREATE INDEX i1 ON t1 (a);
CREATE OR REPLACE INDEX i1 ON t1 (a, b);
sync_slave_with_master;

SHOW CREATE TABLE t1;

connection master;
SHOW CREATE TABLE t1;
DROP TABLE t1;
sync_slave_with_master;

--source include/rpl_end.inc