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-wl6445.result |
CREATE DATABASE WL6445; CREATE TABLE WL6445.t1(c1 INT, c2 INT, INDEX sec_idx(c2)) ENGINE=InnoDB; INSERT INTO WL6445.t1 VALUES(0,0),(1,1),(2,2); SHOW CREATE TABLE WL6445.t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` int(11) DEFAULT NULL, `c2` int(11) DEFAULT NULL, KEY `sec_idx` (`c2`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 # Request clean shutdown # Wait for disconect # Restart server. # Restarted SELECT COUNT(*) FROM WL6445.t1; COUNT(*) 3 INSERT INTO WL6445.t1 VALUES(3,3); ERROR HY000: Can't lock file (errno: 165 - Table is read only) INSERT INTO WL6445.t1 SELECT * FROM WL6445.t1; ERROR HY000: Table 't1' is read only REPLACE INTO WL6445.t1 VALUES(1,1); ERROR HY000: Can't lock file (errno: 165 - Table is read only) UPDATE WL6445.t1 SET c1 = c1 + 100; ERROR HY000: Can't lock file (errno: 165 - Table is read only) DELETE FROM WL6445.t1; ERROR HY000: Can't lock file (errno: 165 - Table is read only) ALTER TABLE WL6445.t1 ADD COLUMN c2 INT; ERROR 42S21: Duplicate column name 'c2' ALTER TABLE WL6445.t1 ADD UNIQUE INDEX(c1); ERROR HY000: Can't lock file (errno: 165 - Table is read only) ALTER TABLE WL6445.t1 DROP INDEX sec_idx; ERROR HY000: Can't lock file (errno: 165 - Table is read only) DROP TABLE WL6445.t1; ERROR 42S02: Unknown table 'WL6445.t1' TRUNCATE TABLE WL6445.t1; ERROR HY000: Table 't1' is read only RENAME TABLE WL6445.t1 TO WL6444.t2; ERROR HY000: Error on rename of 't1' to 't2' (errno: 165 - Table is read only) DROP DATABASE WL6445; ERROR 42S02: Unknown table 'WL6445.t1' SHOW CREATE TABLE WL6445.t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` int(11) DEFAULT NULL, `c2` int(11) DEFAULT NULL, KEY `sec_idx` (`c2`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 # Request clean shutdown # Wait for disconect # Restart server. # Restarted DROP TABLE WL6445.t1; DROP DATABASE WL6445;