Server IP : 104.21.38.3 / Your IP : 162.158.88.162 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/sys_vars/t/ |
Upload File : |
# # Basic test for innodb_buffer_pool_filename # -- source include/have_innodb.inc # --force-restart from # mysql-test/suite/sys_vars/t/innodb_buffer_pool_filename_basic-master.opt # does not seem to work on Windows (test being executed without a restart) -- source include/not_windows.inc # Check the default value and save for later restoration SET @orig = @@global.innodb_buffer_pool_filename; SELECT @orig; # Make sure that --force-restart in the .opt file has worked and that # the value of this status variable is not something like # 'Buffer pool(s) dump completed at ' left from previous runs because if # it is then the following wait condition may be satisfied without the # dump actually being complete and file_exists may fail. let $status_var = innodb_buffer_pool_dump_status; let $status_var_value = Dumping of buffer pool not started; -- source include/wait_for_status_var.inc --disable_warnings SELECT variable_value FROM information_schema.global_status WHERE LOWER(variable_name) = 'innodb_buffer_pool_dump_status'; --enable_warnings # Try with a non-default filename SET GLOBAL innodb_buffer_pool_filename = 'innodb_foobar_dump'; SET GLOBAL innodb_buffer_pool_dump_now = ON; -- let $file = `SELECT CONCAT(@@datadir, @@global.innodb_buffer_pool_filename)` # Wait for the dump to complete let $wait_condition = SELECT SUBSTR(variable_value, 1, 33) = 'Buffer pool(s) dump completed at ' FROM information_schema.global_status WHERE LOWER(variable_name) = 'innodb_buffer_pool_dump_status'; --disable_warnings -- source include/wait_condition.inc --enable_warnings -- file_exists $file # Restore the env SET GLOBAL innodb_buffer_pool_filename = @orig;