Server IP : 172.67.216.182 / Your IP : 162.158.108.87 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 : |
SET GLOBAL innodb_file_per_table=ON; # # WL5980 Remote tablespace debug error injection tests. # CREATE TABLE t1 (a int KEY, b text) ENGINE=Innodb DATA DIRECTORY='MYSQL_TMP_DIR/alt_dir' ; INSERT INTO t1 VALUES (1, "tablespace"); SELECT * FROM t1; a b 1 tablespace # # Test the first injection point in fil_rename_tablespace(). # Make sure the table is useable after this failure. # SET SESSION debug="+d,fil_rename_tablespace_failure_1"; RENAME TABLE t1 TO t2; SET SESSION debug="-d,fil_rename_tablespace_failure_1"; INSERT INTO t1 VALUES (2, "tablespace"); SELECT * FROM t1; a b 1 tablespace 2 tablespace # # Test the second injection point in fil_rename_tablespace(). # Make sure the table is useable after this failure. # SET SESSION debug="+d,fil_rename_tablespace_failure_2"; RENAME TABLE t1 TO t2; SET SESSION debug="-d,fil_rename_tablespace_failure_2"; INSERT INTO t1 VALUES (3, "tablespace"); SELECT * FROM t1; a b 1 tablespace 2 tablespace 3 tablespace # # Test the injection point in dict_table_rename_in_cache(). # Make sure the table is useable after this failure. # SET SESSION debug="+d,dict_table_rename_in_cache_failure"; RENAME TABLE t1 TO t2; SET SESSION debug="-d,dict_table_rename_in_cache_failure"; INSERT INTO t1 VALUES (4, "tablespace"); SELECT * FROM t1; a b 1 tablespace 2 tablespace 3 tablespace 4 tablespace # # Cleanup # DROP TABLE t1;