Server IP : 104.21.38.3 / Your IP : 172.70.208.135 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/t/ |
Upload File : |
# # A series of tests to show the correct tablespace behavior # for compressed tables. # --source include/have_innodb_max_16k.inc --source include/have_partition.inc SET default_storage_engine=InnoDB; # Set up some variables LET $MYSQLD_DATADIR = `select @@datadir`; LET $INNODB_PAGE_SIZE = `select @@innodb_page_size`; LET $data_directory_clause = DATA DIRECTORY='$MYSQL_TMP_DIR/alt_dir'; # These values can change during the test LET $innodb_file_per_table_orig=`select @@innodb_file_per_table`; SET GLOBAL innodb_file_per_table=ON; SET SESSION innodb_strict_mode = ON; --echo # --echo # CREATE TEMPORARY compressed TABLE with DATA DIRECTORY is rejected in strict mode. --echo # --replace_result $MYSQL_TMP_DIR MYSQL_TMP_DIR --error ER_ILLEGAL_HA eval CREATE TEMPORARY TABLE t1 (a int KEY, b text) engine=InnoDB row_format=compressed $data_directory_clause; SHOW WARNINGS; SET SESSION innodb_strict_mode = OFF; --echo # DATA DIRECTORY is ignored in CREATE TEMPORARY compressed TABLE in non-strict mode. --replace_result $MYSQL_TMP_DIR MYSQL_TMP_DIR eval CREATE TEMPORARY TABLE t1 (a int KEY, b text) engine=InnoDB row_format=compressed $data_directory_clause; SHOW CREATE TABLE t1; DROP TABLE t1; --echo # --echo # Cleanup --echo # --disable_query_log EVAL SET GLOBAL innodb_file_per_table=$innodb_file_per_table_orig; --enable_query_log