mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 12:32:27 +01:00
584888abf7
mysql-test/include/default_mysqld.cnf: Turn on log-bin by default for all mysqlds mysql-test/suite/ndb/r/ndb_binlog_ddl_multi.result: Update name of binlog file mysql-test/suite/ndb/r/ndb_binlog_discover.result: Update name of binlog file mysql-test/suite/ndb/r/ndb_binlog_format.result: Update name of binlog file mysql-test/suite/ndb/r/ndb_binlog_ignore_db.result: Update name of binlog file mysql-test/suite/ndb/r/ndb_binlog_log_bin.result: Update name of binlog file mysql-test/suite/ndb/r/ndb_binlog_multi.result: Update name of binlog file mysql-test/suite/ndb/t/ndb_binlog_discover.test: Update name of binlog file
17 lines
735 B
Text
17 lines
735 B
Text
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
|
|
mysqld-bin.000001 # Incident 1 # #1 (LOST_EVENTS)
|
|
mysqld-bin.000001 # Rotate 1 # mysqld-bin.000002;pos=4
|
|
PURGE MASTER LOGS TO 'mysqld-bin.000002';
|
|
show binlog events from <binlog_start>;
|
|
Log_name Pos Event_type Server_id End_log_pos Info
|
|
mysqld-bin.000002 # Query 1 # BEGIN
|
|
mysqld-bin.000002 # Table_map 1 # table_id: # (test.t1)
|
|
mysqld-bin.000002 # Table_map 1 # table_id: # (mysql.ndb_apply_status)
|
|
mysqld-bin.000002 # Write_rows 1 # table_id: #
|
|
mysqld-bin.000002 # Write_rows 1 # table_id: # flags: STMT_END_F
|
|
mysqld-bin.000002 # Query 1 # COMMIT
|
|
drop table t1;
|