Current Path : /home/usr.opt/mysql57/mysql-test/suite/ndb_rpl/r/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : /home/usr.opt/mysql57/mysql-test/suite/ndb_rpl/r/ndb_rpl_empty_epoch.result |
include/master-slave.inc Warnings: Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information. [connection master] CREATE TABLE t1 ( id INT UNSIGNED NOT NULL AUTO_INCREMENT, c1 VARCHAR(30), PRIMARY KEY (id) ) ENGINE=ndb; BEGIN; INSERT INTO t1 (c1) VALUES ('aaa'),('bbb'),('ccc'); DELETE FROM t1 WHERE id IN (1,2,3); COMMIT; SELECT COUNT(epoch) > 0 FROM mysql.ndb_binlog_index; COUNT(epoch) > 0 0 CREATE TABLE t2 ( id INT UNSIGNED NOT NULL AUTO_INCREMENT, c1 VARCHAR(30), PRIMARY KEY (id) ) ENGINE=ndb; set @old_ndb_log_empty_epochs = @@global.ndb_log_empty_epochs; set global ndb_log_empty_epochs = on; BEGIN; INSERT INTO t2 (c1) VALUES ('aaa'),('bbb'),('ccc'); DELETE FROM t2 WHERE id IN (1,2,3); COMMIT; SELECT COUNT(epoch) > 0 FROM mysql.ndb_binlog_index; COUNT(epoch) > 0 1 set global ndb_log_empty_epochs = @old_ndb_log_empty_epochs; DROP TABLE IF EXISTS t1,t2; include/rpl_end.inc