You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1.2 KiB

  1. set autocommit=1;
  2. reset master;
  3. create table bug16206 (a int);
  4. insert into bug16206 values(1);
  5. start transaction;
  6. insert into bug16206 values(2);
  7. commit;
  8. show binlog events;
  9. Log_name Pos Event_type Server_id End_log_pos Info
  10. f n Format_desc 1 n Server ver: VERSION, Binlog ver: 4
  11. f n Query 1 n use `test`; create table bug16206 (a int)
  12. f n Query 1 n use `test`; insert into bug16206 values(1)
  13. f n Query 1 n use `test`; insert into bug16206 values(2)
  14. drop table bug16206;
  15. reset master;
  16. create table bug16206 (a int) engine= bdb;
  17. insert into bug16206 values(0);
  18. insert into bug16206 values(1);
  19. start transaction;
  20. insert into bug16206 values(2);
  21. commit;
  22. insert into bug16206 values(3);
  23. show binlog events;
  24. Log_name Pos Event_type Server_id End_log_pos Info
  25. f n Format_desc 1 n Server ver: VERSION, Binlog ver: 4
  26. f n Query 1 n use `test`; create table bug16206 (a int) engine= bdb
  27. f n Query 1 n use `test`; insert into bug16206 values(0)
  28. f n Query 1 n use `test`; insert into bug16206 values(1)
  29. f n Query 1 n use `test`; BEGIN
  30. f n Query 1 n use `test`; insert into bug16206 values(2)
  31. f n Query 1 n use `test`; COMMIT
  32. f n Query 1 n use `test`; insert into bug16206 values(3)
  33. drop table bug16206;
  34. set autocommit=0;
  35. End of 5.0 tests