set autocommit=1;
reset master;
create table bug16206 (a int);
insert into bug16206 values(1);
start transaction;
insert into bug16206 values(2);
commit;
show binlog events;
Log_name	Pos	Event_type	Server_id	End_log_pos	Info
f	n	Format_desc	1	n	Server ver: VERSION, Binlog ver: 4
f	n	Query	1	n	use `test`; create table bug16206 (a int)
f	n	Query	1	n	use `test`; insert into bug16206 values(1)
f	n	Query	1	n	use `test`; insert into bug16206 values(2)
drop table bug16206;
reset master;
create table bug16206 (a int) engine=         bdb;
insert into bug16206 values(0);
insert into bug16206 values(1);
start transaction;
insert into bug16206 values(2);
commit;
insert into bug16206 values(3);
show binlog events;
Log_name	Pos	Event_type	Server_id	End_log_pos	Info
f	n	Format_desc	1	n	Server ver: VERSION, Binlog ver: 4
f	n	Query	1	n	use `test`; create table bug16206 (a int) engine=         bdb
f	n	Query	1	n	BEGIN
f	n	Query	1	n	use `test`; insert into bug16206 values(0)
f	n	Query	1	n	COMMIT
f	n	Query	1	n	BEGIN
f	n	Query	1	n	use `test`; insert into bug16206 values(1)
f	n	Query	1	n	COMMIT
f	n	Query	1	n	BEGIN
f	n	Query	1	n	use `test`; insert into bug16206 values(2)
f	n	Query	1	n	COMMIT
f	n	Query	1	n	BEGIN
f	n	Query	1	n	use `test`; insert into bug16206 values(3)
f	n	Query	1	n	COMMIT
drop table bug16206;
set autocommit=0;
End of 5.0 tests
