include/master-slave.inc
[connection master]
include/rpl_restart_server.inc [server_number=1]
SET @@debug_dbug="d,simulate_big_table_id";
CREATE TABLE t (a int);
INSERT INTO t SET a= 0;
ALTER TABLE t comment '';
INSERT INTO t SET a= 1;
ALTER TABLE t comment '';
INSERT INTO t SET a= 2;
ALTER TABLE t comment '';
INSERT INTO t SET a= 3;
show binlog events in <file> from  <pos>;
Log_name	Pos	Event_type	Server_id	End_log_pos	Info
master-bin.000002	#	Gtid	1	#	BEGIN GTID #-#-#
master-bin.000002	#	Table_map	1	#	table_id: 4294967294 (test.t)
master-bin.000002	#	Write_rows_v1	1	#	table_id: 4294967294 flags: STMT_END_F
master-bin.000002	#	Query	1	#	COMMIT
master-bin.000002	#	Gtid	1	#	GTID #-#-#
master-bin.000002	#	Query	1	#	use `test`; ALTER TABLE t comment ''
master-bin.000002	#	Gtid	1	#	BEGIN GTID #-#-#
master-bin.000002	#	Table_map	1	#	table_id: 1 (test.t)
master-bin.000002	#	Write_rows_v1	1	#	table_id: 1 flags: STMT_END_F
master-bin.000002	#	Query	1	#	COMMIT
master-bin.000002	#	Gtid	1	#	GTID #-#-#
master-bin.000002	#	Query	1	#	use `test`; ALTER TABLE t comment ''
master-bin.000002	#	Gtid	1	#	BEGIN GTID #-#-#
master-bin.000002	#	Table_map	1	#	table_id: 2 (test.t)
master-bin.000002	#	Write_rows_v1	1	#	table_id: 2 flags: STMT_END_F
master-bin.000002	#	Query	1	#	COMMIT
master-bin.000002	#	Gtid	1	#	GTID #-#-#
master-bin.000002	#	Query	1	#	use `test`; ALTER TABLE t comment ''
master-bin.000002	#	Gtid	1	#	BEGIN GTID #-#-#
master-bin.000002	#	Table_map	1	#	table_id: 3 (test.t)
master-bin.000002	#	Write_rows_v1	1	#	table_id: 3 flags: STMT_END_F
master-bin.000002	#	Query	1	#	COMMIT
DROP TABLE t;
include/rpl_end.inc
