Server IP : 172.67.216.182 / Your IP : 162.158.88.69 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 crash --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; --exec echo "wait" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect --disable_reconnect # CR_SERVER_LOST --error 2013 ALTER TABLE t1 UPGRADE PARTITIONING; --echo # State after crash (before recovery) --replace_regex /sqlx.*\./sqlx-nnnn_nnnn./ /#p#/#P#/ /#sp#/#SP#/ /#tmp#/#TMP#/ --list_files $DATADIR/test --exec echo "restart" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect --enable_reconnect let $WAIT_COUNT=6000; --source include/wait_time_until_connected_again.inc --echo # State after crash recovery --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;