403Webshell
Server IP : 172.67.216.182  /  Your IP : 172.71.124.137
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_parallel_load_data.test
#
# Bug#12982188 MTS: SBR ABORTS WITH ERROR 1742 ON LOAD DATA WITH TRIGGER MYISAM TO INNODB
#

--source include/master-slave.inc
--source include/have_binlog_format_statement.inc
--source include/not_gtid_enabled.inc
--source include/have_myisam.inc

let $max_workers= 4;

--write_file $MYSQLTEST_VARDIR/load_bug12982188.txt
1
2
3
4
5
6
7
8
9
10
EOF

--connection slave
--source include/stop_slave.inc
SET @save_slave_parallel_workers= @@slave_parallel_workers;
eval SET @@global.slave_parallel_workers=$max_workers;
--source include/start_slave.inc

--connection master
--disable_warnings
DROP DATABASE IF EXISTS db1;
DROP DATABASE IF EXISTS db2;
--enable_warnings
CREATE DATABASE db1;
CREATE DATABASE db2;
CREATE TABLE db1.tb1 (f1 int) ENGINE=MyISAM;
CREATE TABLE db2.tb2 (f1 int) ENGINE=InnoDB;
CREATE TRIGGER db1.tr AFTER INSERT ON tb1 FOR EACH ROW INSERT INTO db2.tb2
(f1) VALUES (new.f1);
--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
eval LOAD DATA LOCAL INFILE '$MYSQLTEST_VARDIR/load_bug12982188.txt' INTO TABLE db1.tb1;
--sync_slave_with_master
SELECT COUNT(*) FROM db2.tb2;

# cleanup
--connection master
DROP DATABASE db1;
DROP DATABASE db2;
--remove_file $MYSQLTEST_VARDIR/load_bug12982188.txt

--sync_slave_with_master
--source include/stop_slave.inc
SET @@global.slave_parallel_workers= @save_slave_parallel_workers;

Youez - 2016 - github.com/yon3zu
LinuXploit