403Webshell
Server IP : 172.67.216.182  /  Your IP : 104.23.175.197
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_trx_boundary_parser_stmt.test
# ==== Purpose ====
#
# Test the behavior of mysql server replication with the transaction boundary
# parser.
#
# This test will insert data in the master while the slave will have some debug
# sync points activated to stop the IO thread in the middle of the transaction
# what will cause the transactions to be spanned along distinct relay log files.
#
# As the GTID auto positioning protocol will retrieved the partial transactions
# from the beginning, we repeat the test again disabling GTID auto positioning.
#
# ==== Related Bugs and Worklogs ====
#
# BUG#17943188: SHOW SLAVE STATUS/RETRIEVED_GTID_SET MAY HAVE PARTIAL TRX OR
#               MISS COMPLETE TRX
#

# This test should run only on debug build
--source include/have_debug.inc
# This test uses debug sync to stop the IO thread in the middle of a transaction
--source include/have_debug_sync.inc

--source include/have_innodb.inc
--source include/have_myisam.inc

--let $rpl_gtid_utils= 1
--source include/have_gtid.inc
--source include/have_binlog_format_statement.inc
--source include/master-slave.inc

--echo # Using MyISAM storage engine
--let $storage_engine= MyISAM
--source extra/rpl_tests/rpl_trx_boundary_parser.inc

--echo # Using InnoDB storage engine
--let $storage_engine= InnoDB
--source extra/rpl_tests/rpl_trx_boundary_parser.inc

#
# As we are going to use GTID related checks for the IO thread after
# a CHANGE MASTER, we will first reset both slave and master to avoid
# problems with the gtid related mtr includes.
#
--source include/rpl_connection_slave.inc
--source include/stop_slave.inc
RESET MASTER;
RESET SLAVE;
--source include/rpl_connection_master.inc
RESET MASTER;

#
# Disabling slave's auto positioning
#
--source include/rpl_connection_slave.inc
CHANGE MASTER TO MASTER_AUTO_POSITION= 0;
--source include/start_slave.inc

--echo # Using MyISAM storage engine without auto positioning
--let $storage_engine= MyISAM
--source extra/rpl_tests/rpl_trx_boundary_parser.inc

--echo # Using InnoDB storage engine without auto positioning
--let $storage_engine= InnoDB
--source extra/rpl_tests/rpl_trx_boundary_parser.inc

#
# Enabling slave's auto positioning again
#
--source include/rpl_connection_slave.inc
--source include/stop_slave.inc
CHANGE MASTER TO MASTER_AUTO_POSITION= 1;
--source include/start_slave.inc

--source include/rpl_end.inc

Youez - 2016 - github.com/yon3zu
LinuXploit