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 |
Current File : /home/usr.opt/mysql57/mysql-test/suite/innodb/r/innodb-status-output.result |
CREATE TABLE innodb_monitor(a SERIAL) ENGINE=InnoDB; SHOW VARIABLES LIKE 'innodb_status_output%'; Variable_name Value innodb_status_output OFF innodb_status_output_locks OFF DROP TABLE innodb_monitor; SHOW VARIABLES LIKE 'innodb_status_output%'; Variable_name Value innodb_status_output OFF innodb_status_output_locks OFF CREATE TABLE innodb_lock_monitor(a SERIAL) ENGINE=InnoDB; SHOW VARIABLES LIKE 'innodb_status_output%'; Variable_name Value innodb_status_output OFF innodb_status_output_locks OFF DROP TABLE innodb_lock_monitor; SHOW VARIABLES LIKE 'innodb_status_output%'; Variable_name Value innodb_status_output OFF innodb_status_output_locks OFF CREATE TABLE innodb_tablespace_monitor(a SERIAL) ENGINE=InnoDB; DROP TABLE innodb_tablespace_monitor; CREATE TABLE innodb_table_monitor(a SERIAL) ENGINE=InnoDB; DROP TABLE innodb_table_monitor; CREATE TABLE t(a SERIAL) ENGINE=InnoDB; INSERT INTO t VALUES(42); BEGIN; SELECT * FROM t FOR UPDATE; a 42 SET GLOBAL innodb_status_output_locks=ON; SET GLOBAL innodb_status_output=ON; SELECT SLEEP(30); SLEEP(30) 0 COMMIT; BEGIN; SELECT * FROM t FOR UPDATE; a 42 SET GLOBAL innodb_status_output_locks=ON; SELECT SLEEP(30); SLEEP(30) 0 COMMIT; BEGIN; SELECT * FROM t FOR UPDATE; a 42 SET GLOBAL innodb_status_output=ON; SELECT SLEEP(30); SLEEP(30) 0 COMMIT; # restart DROP TABLE t;