-- source include/have_multi_ndb.inc -- source include/have_binlog_format_mixed_or_row.inc --disable_warnings connection server2; drop table if exists t1,t2,t3; reset master; connection server1; drop table if exists t1,t2,t3; reset master; --enable_warnings # basic SQL_LOG_BIN functionality # see updates from one thread but not the other connect (con1,localhost,root,,); connect (con2,localhost,root,,); # do some stuff with SQL_LOG_BIN=0 connection con2; set SQL_LOG_BIN=0; create database mysqltest; use mysqltest; create table t1 (a int key, b int) engine=ndb; create table t2 (a int key, b int) engine=ndb; insert into t1 values (1,1); alter table t1 add c int; # we should not see it in the local server -- source include/show_binlog_events2.inc reset master; # we should not see it in another server connection server2; use mysqltest; insert into t2 values (1,1); -- source include/show_binlog_events2.inc reset master; # but if you do stuff in "default" client setting connection con1; use mysqltest; drop table t1; drop table t2; create table t1 (d int key, e int) engine=ndb; create table t2 (d int key, e int) engine=ndb; insert into t1 values (1,1); -- source include/show_binlog_events2.inc # and in another server connection server2; use mysqltest; insert into t2 values (1,1); -- source include/show_binlog_events2.inc drop database mysqltest;
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
ndb_binlog_basic.test | File | 2.23 KB | 0644 |
|
ndb_binlog_ddl_multi.test | File | 3.7 KB | 0644 |
|
ndb_binlog_discover.test | File | 1.11 KB | 0644 |
|
ndb_binlog_format.test | File | 1.16 KB | 0644 |
|
ndb_binlog_get_binlog_stmts.inc | File | 122 B | 0644 |
|
ndb_binlog_get_binlog_stmts_basic.inc | File | 2.91 KB | 0644 |
|
ndb_binlog_ignore_db-master.opt | File | 53 B | 0644 |
|
ndb_binlog_ignore_db.test | File | 2.17 KB | 0644 |
|
ndb_binlog_log_apply_status.test | File | 1.68 KB | 0644 |
|
ndb_binlog_log_bin.test | File | 1.33 KB | 0644 |
|
ndb_binlog_multi.test | File | 3.23 KB | 0644 |
|
ndb_binlog_restore.test | File | 4.96 KB | 0644 |
|
ndb_binlog_unique_epoch.cnf | File | 164 B | 0644 |
|
ndb_binlog_unique_epoch.test | File | 3.66 KB | 0644 |
|
ndb_binlog_variants.cnf | File | 999 B | 0644 |
|
ndb_binlog_variants.test | File | 6.11 KB | 0644 |
|