config root man

Current Path : /home/usr.opt/mysql57/mysql-test/suite/binlog/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
Upload File :
Current File : /home/usr.opt/mysql57/mysql-test/suite/binlog/r/binlog_stm_delete_all_rows.result

#
# MyISAM, binlog_format= STATEMENT
#
CREATE TABLE t1 (c1 INT) ENGINE=MyISAM;
INSERT INTO t1 VALUES (1), (2), (3);

SET sql_log_bin= 0;
include/assert.inc [DELETE will use delete_all_rows]
DELETE FROM t1;
include/assert.inc [DELETE was not binlogged]

SET sql_log_bin= 1;
INSERT INTO t1 VALUES (1), (2), (3);
include/assert.inc [DELETE will use delete_all_rows]
DELETE FROM t1;
include/assert.inc [DELETE was binlogged]
DROP TABLE t1;

#
# InnoDB, binlog_format= STATEMENT
#
CREATE TABLE t1 (c1 INT) ENGINE=InnoDB;
INSERT INTO t1 VALUES (1), (2), (3);

SET sql_log_bin= 0;
include/assert.inc [DELETE will use delete_all_rows]
DELETE FROM t1;
include/assert.inc [DELETE was not binlogged]

SET sql_log_bin= 1;
INSERT INTO t1 VALUES (1), (2), (3);
include/assert.inc [DELETE will use delete_all_rows]
DELETE FROM t1;
include/assert.inc [DELETE was binlogged]
DROP TABLE t1;

Man Man