Server IP : 104.21.38.3 / Your IP : 172.68.164.25 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 : |
# # Bug#13955083 ALLOW IN-PLACE DDL OPERATIONS ON MISSING # OR DISCARDED TABLESPACES # SET GLOBAL innodb_file_per_table=1; CREATE TABLE t(a INT)ENGINE=InnoDB; # restart SELECT * FROM t; ERROR HY000: Tablespace is missing for table `test`.`t`. ALTER TABLE t ADD INDEX (a), ALGORITHM=INPLACE; ERROR HY000: Tablespace is missing for table `test`.`t`. SHOW WARNINGS; Level Code Message Warning 1812 InnoDB: Tablespace is missing for table test/t. Error 1812 Tablespace is missing for table `test`.`t`. ALTER TABLE t1 ADD INDEX (a), ALGORITHM=COPY; ERROR 42S02: Table 'test.t1' doesn't exist SHOW WARNINGS; Level Code Message Error 1146 Table 'test.t1' doesn't exist ALTER TABLE t ALGORITHM=INPLACE, DISCARD TABLESPACE; ERROR 0A000: ALGORITHM=COPY/INPLACE is not supported for this operation. Try ALGORITHM=DEFAULT. ALTER TABLE t ALGORITHM=COPY, DISCARD TABLESPACE; ERROR 0A000: ALGORITHM=COPY/INPLACE is not supported for this operation. Try ALGORITHM=DEFAULT. ALTER TABLE t ALGORITHM=DEFAULT, DISCARD TABLESPACE; Warnings: Warning 1812 InnoDB: Tablespace is missing for table test/t. Warning 1812 InnoDB: Tablespace is missing for table test/t. ALTER TABLE t DISCARD TABLESPACE; Warnings: Warning 1812 InnoDB: Tablespace is missing for table test/t. DROP TABLE t; CREATE TABLE `x..d` (a INT PRIMARY KEY, b INT) ENGINE=InnoDB; INSERT INTO `x..d` (a) VALUES (1),(2),(3),(4),(5),(6),(7),(8); # restart select * from `x..d`; ERROR HY000: Tablespace is missing for table `test`.`x..d`. DROP TABLE `x..d`;