2006-04-24 23:29:33 +02:00
|
|
|
drop table if exists t1;
|
|
|
|
create table t1 (a int key) engine=ndb;
|
|
|
|
reset master;
|
|
|
|
show binlog events from <binlog_start>;
|
|
|
|
Log_name Pos Event_type Server_id End_log_pos Info
|
2007-04-18 16:02:20 +02:00
|
|
|
master-bin.000001 # Incident 1 # #1 (LOST_EVENTS)
|
|
|
|
master-bin.000001 # Rotate 1 # master-bin.000002;pos=4
|
2007-04-03 14:49:57 +02:00
|
|
|
PURGE MASTER LOGS TO 'master-bin.000002';
|
|
|
|
show binlog events from <binlog_start>;
|
|
|
|
Log_name Pos Event_type Server_id End_log_pos Info
|
2007-04-18 16:02:20 +02:00
|
|
|
master-bin.000002 # Query 1 # BEGIN
|
|
|
|
master-bin.000002 # Table_map 1 # table_id: # (test.t1)
|
|
|
|
master-bin.000002 # Table_map 1 # table_id: # (mysql.ndb_apply_status)
|
|
|
|
master-bin.000002 # Write_rows 1 # table_id: #
|
|
|
|
master-bin.000002 # Write_rows 1 # table_id: # flags: STMT_END_F
|
|
|
|
master-bin.000002 # Query 1 # COMMIT
|
2006-04-24 23:29:33 +02:00
|
|
|
drop table t1;
|