Server IP : 104.21.38.3 / Your IP : 172.71.124.76 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/parts/inc/ |
Upload File : |
# Include file to decrease test code duplication let $MYSQLD_DATADIR=`SELECT @@datadir`; let PATH_TO_TABLE=$MYSQLD_DATADIR/test/t1; let FILE_LIST_PATTERN=$MYSQLD_DATADIR/test/t1*ibd; let $TABLE_NAME=t1; --source include/create_575_part_table.inc --echo # Flush the table data files to get deterministic checksum of data files FLUSH TABLE t1 FOR EXPORT; let LIST_OUT_FILE=$MYSQLD_DATADIR/test/list_t1_1.txt; --source include/list_files_with_size_and_hash.inc UNLOCK TABLES; --echo # State before failure --source include/get_frm_info.inc --replace_result #p# #P# #sp# #SP# --list_files $DATADIR/test SHOW CREATE TABLE t1; --sorted_result SELECT * FROM t1; --disable_abort_on_error ALTER TABLE t1 UPGRADE PARTITIONING; --enable_abort_on_error --echo # State after failure --source include/get_frm_info.inc --replace_result #p# #P# #sp# #SP# --list_files $DATADIR/test SHOW CREATE TABLE t1; --sorted_result SELECT * FROM t1; --echo # Flush the table data files to get deterministic checksum of data files FLUSH TABLE t1 FOR EXPORT; let LIST_OUT_FILE=$MYSQLD_DATADIR/test/list_t1_2.txt; --source include/list_files_with_size_and_hash.inc UNLOCK TABLES; --echo # Verifying that the data files is the same --diff_files $MYSQLD_DATADIR/test/list_t1_1.txt $MYSQLD_DATADIR/test/list_t1_2.txt --remove_file $MYSQLD_DATADIR/test/list_t1_1.txt --remove_file $MYSQLD_DATADIR/test/list_t1_2.txt DROP TABLE t1; --echo # Same test under LOCK TABLE --source include/create_575_part_table.inc --echo # Flush the table data files to get deterministic checksum of data files FLUSH TABLE t1 FOR EXPORT; let LIST_OUT_FILE=$MYSQLD_DATADIR/test/list_t1_1.txt; --source include/list_files_with_size_and_hash.inc UNLOCK TABLES; --echo # State before failure --source include/get_frm_info.inc --replace_result #p# #P# #sp# #SP# --list_files $DATADIR/test SHOW CREATE TABLE t1; --sorted_result SELECT * FROM t1; LOCK TABLE t1 WRITE; --disable_abort_on_error ALTER TABLE t1 UPGRADE PARTITIONING; --enable_abort_on_error --echo # State after failure --source include/get_frm_info.inc --replace_result #p# #P# #sp# #SP# --list_files $DATADIR/test SHOW CREATE TABLE t1; --sorted_result SELECT * FROM t1; UNLOCK TABLES; --echo # Flush the table data files to get deterministic checksum of data files FLUSH TABLE t1 FOR EXPORT; let LIST_OUT_FILE=$MYSQLD_DATADIR/test/list_t1_2.txt; --source include/list_files_with_size_and_hash.inc UNLOCK TABLES; --echo # Verifying that the data files is the same --diff_files $MYSQLD_DATADIR/test/list_t1_1.txt $MYSQLD_DATADIR/test/list_t1_2.txt --remove_file $MYSQLD_DATADIR/test/list_t1_1.txt --remove_file $MYSQLD_DATADIR/test/list_t1_2.txt DROP TABLE t1;