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_bug-13628249.result |
# Restart the server in force recovery mode (2) # restart: --innodb-force-recovery=2 SELECT @@innodb_force_recovery; @@innodb_force_recovery 2 # Restart server in normal mode # restart SELECT @@innodb_force_recovery; @@innodb_force_recovery 0 CREATE TABLE t1(c1 INT PRIMARY KEY) ENGINE=InnoDB STATS_PERSISTENT=0; BEGIN; INSERT INTO t1 VALUES(1), (2), (3), (4); CREATE TABLE t2(c2 INT PRIMARY KEY) ENGINE=InnoDB STATS_PERSISTENT=0; DROP TABLE t2; # Restart the server in force recovery mode (3) # Kill and restart: --innodb-force-recovery=3 SELECT @@innodb_force_recovery; @@innodb_force_recovery 3 SELECT COUNT(*) IN (0,4) yes FROM t1; yes 1 # Restart the server in force recovery mode (5) # restart: --innodb-force-recovery=5 SELECT @@innodb_force_recovery; @@innodb_force_recovery 5 SELECT COUNT(*) IN (0,4) yes FROM t1; yes 1 # Restart server in normal mode # restart SELECT @@innodb_force_recovery; @@innodb_force_recovery 0 SELECT COUNT(*) IN (0,4) yes FROM t1; yes 1 DROP TABLE t1;