config root man

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

#
# Bug#19904800 - MISSING DBUG_RETURN IN HA_INNOBASE::UPDATE_ROW
#
CREATE TABLE t1(a int PRIMARY KEY) ENGINE=InnoDB;
CREATE TABLE t2(b int PRIMARY KEY) ENGINE=InnoDB;
INSERT INTO t1 VALUES(1);
INSERT INTO t2 VALUES(2);
SET GLOBAL innodb_fast_shutdown=0;
# restart: --innodb-read-only
UPDATE t1,t2 SET t1.a = 2, t2.b = 2 WHERE t1.a = 1;
ERROR HY000: Table 't1' is read only
# restart
DROP TABLE t1;
DROP TABLE t2;
#
# Bug#20578834 - INNODB READ ONLY MODE AND NON EXISTENT TMP DIR CRASHES SERVER
#
CREATE TABLE t1(a int PRIMARY KEY) ENGINE=InnoDB;
INSERT INTO t1 VALUES(1);
SET GLOBAL innodb_fast_shutdown=0;
# restart: --tmpdir=/non/existent/dir/ --innodb-read-only
SELECT * FROM t1;
a
1
# restart
DROP TABLE t1;

Man Man