config root man

Current Path : /home/usr.opt/mysql57/mysql-test/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/r/delete_all_rows.result

CALL mtr.add_suppression('You need to use --log-bin to make --binlog-format work.');
SET binlog_format= ROW;
#
# MyISAM, binlog_format= ROW
#
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;

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

SET binlog_format= MIXED;
#
# MyISAM, binlog_format= MIXED
#
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;

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

SET binlog_format= STATEMENT;
#
# 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;

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

SET binlog_format= ROW;
#
# InnoDB, binlog_format= ROW
#
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;

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

SET binlog_format= MIXED;
#
# InnoDB, binlog_format= MIXED
#
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;

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

SET binlog_format= STATEMENT;
#
# 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;

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

Man Man