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/innodb_high_prio_commit_crash.result

DROP TABLE IF EXISTS t1;
CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY) ENGINE=InnoDB;
INSERT INTO t1 VALUES (0);

# On connection con1
START TRANSACTION;
UPDATE t1 SET c1=1 WHERE c1=0;

# On connection con2
include/start_transaction_high_prio.inc
START TRANSACTION /* HIGH PRIORITY */;
UPDATE t1 SET c1=2 WHERE c1=0;
SET DEBUG='+d,crash_commit_after';
COMMIT;
ERROR HY000: Lost connection to MySQL server during query

# On connection mdefault
# Value 2 is expected as server crash on high prio txn (crash_commit_after point)
SELECT * FROM t1;
c1
2
DROP TABLE t1;
# Case : crash before commit on high prio transaction
CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY) ENGINE=InnoDB;
INSERT INTO t1 VALUES (0);

# On connection con1
START TRANSACTION;
UPDATE t1 SET c1=1 WHERE c1=0;

# On connection con2
include/start_transaction_high_prio.inc
START TRANSACTION /* HIGH PRIORITY */;
UPDATE t1 SET c1=2 WHERE c1=0;
SET DEBUG='+d,crash_commit_before';
COMMIT;
ERROR HY000: Lost connection to MySQL server during query

# On connection default
# Value 0 is expected as server crash on high prio txn (crash_commit_before point)
SELECT * FROM t1;
c1
0
DROP TABLE t1;

Man Man