| 1 |
--source include/have_ndb.inc |
| 2 |
|
| 3 |
# The purpose of this test is to show that the global binlog_format |
| 4 |
# is automatically upgraded to MIXED in case the mysqld is started |
| 5 |
# with STATEMENT |
| 6 |
|
| 7 |
show variables like 'log_bin'; |
| 8 |
|
| 9 |
# |
| 10 |
# Check that binlog_format has been auto upgraded to MIXED |
| 11 |
# |
| 12 |
show variables like 'binlog_format'; |
| 13 |
|
| 14 |
# |
| 15 |
# Run some basic statements and check how they look in the binlog |
| 16 |
# |
| 17 |
use test; |
| 18 |
create table test.t1 (a int primary key) engine=ndb; |
| 19 |
insert into test.t1 values (1); |
| 20 |
drop table test.t1; |
| 21 |
--source include/show_binlog_events.inc |