mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 21:42:35 +01:00
5b3c418b48
Note: The following tests fails - fulltext (Sergei has promised to fix) - rpl_charset (Guilhem should fix) - rpl_timezone (Dimitray has promised to fix) Sanja needs to check out the calling of close_thread_tables() in sp_head.cc
19 lines
604 B
Text
19 lines
604 B
Text
connect (master,localhost,root,,test,$MASTER_MYPORT,$MASTER_MYSOCK);
|
|
connect (slave,localhost,root,,test,$SLAVE_MYPORT,slave.sock);
|
|
connection master;
|
|
reset master;
|
|
grant replication slave on *.* to replicate@localhost identified by 'aaaaaaaaaaaaaaab';
|
|
grant replication slave on *.* to replicate@127.0.0.1 identified by 'aaaaaaaaaaaaaaab';
|
|
connection slave;
|
|
start slave;
|
|
connection master;
|
|
--disable_warnings
|
|
drop table if exists t1;
|
|
--enable_warnings
|
|
create table t1(n int);
|
|
insert into t1 values(24);
|
|
sync_slave_with_master;
|
|
select * from t1;
|
|
connection master;
|
|
drop table t1;
|
|
sync_slave_with_master;
|