1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-11 13:21:44 +03:00
mariadb/mysql-test/suite/rpl/t/rpl_create_drop_index.test

18 lines
313 B
Plaintext

--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