Server IP : 172.67.216.182 / Your IP : 162.158.189.21 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/ndb_rpl/t/ |
Upload File : |
############################################################# # Author: JBM # Date: 2006-02-24 # Purpose: Trying to test ability to replicate from cluster # to innodb, or myisam, or replicate from innodb/myisam to # cluster slave. Due to limitations I have created wrappers # to be able to use the same code for all these different # test and to have control over the tests. ############################################################## -- source include/have_ndb.inc -- source include/master-slave.inc # workaround for Bug #34006 binlog race for temporary ndb table # - disable using temporary ndb tables -- connection master -- disable_query_log set ndb_table_temporary=0; -- enable_query_log -- connection slave -- source include/have_innodb.inc # Remove any old ndb_apply_status from slaves datadir let $datadir= `SELECT @@datadir`; --error 0,1 remove_file $datadir/mysql/ndb_apply_status.frm; --error 0,1 remove_file $datadir/mysql/ndb_apply_status.ndb; set @@global.slave_exec_mode= 'IDEMPOTENT'; CREATE TABLE mysql.ndb_apply_status ( server_id INT UNSIGNED NOT NULL, epoch BIGINT UNSIGNED NOT NULL, log_name VARCHAR(255) BINARY NOT NULL, start_pos BIGINT UNSIGNED NOT NULL, end_pos BIGINT UNSIGNED NOT NULL, PRIMARY KEY USING HASH (server_id)) ENGINE=INNODB; -- connection master --disable_query_log set new=on; set default_storage_engine=ndbcluster; --enable_query_log --source suite/ndb_rpl/t/ndb_rpl_2multi_eng.inc --connection slave set @@global.slave_exec_mode= 'STRICT'; drop table mysql.ndb_apply_status; --source include/rpl_end.inc