2003-09-11 18:06:23 +02:00
|
|
|
stop slave;
|
2003-08-20 23:24:45 +02:00
|
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
|
|
reset master;
|
|
|
|
reset slave;
|
|
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
2003-09-11 18:06:23 +02:00
|
|
|
start slave;
|
2003-10-08 11:01:58 +02:00
|
|
|
drop database if exists mysqltest;
|
2003-11-23 17:02:59 +01:00
|
|
|
stop slave;
|
2003-10-08 11:01:58 +02:00
|
|
|
create database mysqltest;
|
2003-08-20 23:24:45 +02:00
|
|
|
create table t1(a int, b int, unique(b));
|
2003-10-08 11:01:58 +02:00
|
|
|
use mysqltest;
|
2003-08-20 23:24:45 +02:00
|
|
|
load data infile '../../std_data/rpl_loaddata.dat' into table test.t1;
|
2005-03-16 02:32:47 +01:00
|
|
|
show binlog events from 98;
|
2003-12-19 22:40:23 +01:00
|
|
|
Log_name Pos Event_type Server_id End_log_pos Info
|
2005-03-16 02:32:47 +01:00
|
|
|
master-bin.000001 # Query 1 # drop database if exists mysqltest
|
|
|
|
master-bin.000001 # Query 1 # create database mysqltest
|
|
|
|
master-bin.000001 # Begin_load_query 1 # ;file_id=1;block_len=12
|
|
|
|
master-bin.000001 # Execute_load_query 1 # use `mysqltest`; load data infile '../../std_data/rpl_loaddata.dat' into table test.t1 ;file_id=1
|
2003-10-08 11:01:58 +02:00
|
|
|
drop database mysqltest;
|