Server IP : 104.21.38.3 / Your IP : 162.158.108.124 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 : |
--source include/not_group_replication_plugin.inc source include/have_innodb.inc; source include/have_myisam.inc; source include/master-slave.inc; --echo # Verify the statements can be binlogged correctly when error happens --echo # ------------------------------------------------------------------ CREATE TABLE t1(c1 INT KEY) ENGINE=MyISAM; CREATE TABLE t2(c1 INT KEY) ENGINE=MyISAM; INSERT INTO t1 VALUES(1); INSERT INTO t2 VALUES(1); --echo --echo # Nothing is inserted. let $binlog_start= query_get_value(SHOW MASTER STATUS, Position, 1); --error 1062 INSERT INTO t1 VALUES(1),(2); source include/show_binlog_events.inc; --echo --echo # A row is inserted. --error 1062 INSERT INTO t1 VALUES(2),(1); --source include/sync_slave_sql_with_master.inc let $diff_tables= master:test.t1, slave:test.t1; source include/diff_tables.inc; --echo --echo # Nothing is inserted. connection master; let $binlog_start= query_get_value(SHOW MASTER STATUS, Position, 1); --error 1062 INSERT INTO t1 SELECT 1 UNION SELECT 2; source include/show_binlog_events.inc; --echo --echo # A row is inserted. --error 1062 INSERT INTO t1 SELECT 3 UNION SELECT 2; --source include/sync_slave_sql_with_master.inc source include/diff_tables.inc; --echo --echo # A row is updated. connection master; let $binlog_start= query_get_value(SHOW MASTER STATUS, Position, 1); --error 1062 UPDATE t1 SET c1=4; --source include/sync_slave_sql_with_master.inc source include/diff_tables.inc; --echo # Nothing is updated. connection master; let $binlog_start= query_get_value(SHOW MASTER STATUS, Position, 1); --error 1062 UPDATE t1 SET c1=4; source include/show_binlog_events.inc; --echo --echo # A row is updated. connection master; --error 1062 UPDATE t1, t2 SET t1.c1= 5, t2.c1=5; --source include/sync_slave_sql_with_master.inc source include/diff_tables.inc; --echo --echo Nothing is updated. connection master; let $binlog_start= query_get_value(SHOW MASTER STATUS, Position, 1); --error 1062 UPDATE t1, t2 SET t1.c1= 5, t2.c1=5; source include/show_binlog_events.inc; DROP TABLE t1, t2; source include/rpl_end.inc;