Server IP : 172.67.216.182 / Your IP : 172.68.164.159 Web Server : Apache System : Linux krdc-ubuntu-s-2vcpu-4gb-amd-blr1-01.localdomain 5.15.0-142-generic #152-Ubuntu SMP Mon May 19 10:54:31 UTC 2025 x86_64 User : www ( 1000) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /www/server/mysql/src/mysql-test/suite/innodb/r/ |
Upload File : |
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;