⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.124
Server IP:
50.28.103.30
Server:
Linux host.jcukjv-lwsites.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
Server Software:
nginx/1.28.0
PHP Version:
8.3.12
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
www
/
server
/
mysql
/
mysql-test
/
suite
/
ndb_rpl
/
t
/
View File Name :
ndb_rpl_innodb_trans.test
# Test of a transaction mixing the two engines -- source include/have_ndb.inc -- source include/have_innodb.inc -- source suite/ndb_rpl/ndb_master-slave.inc create table t1 (a int, unique(a)) engine=ndbcluster; create table t2 (a int, unique(a)) engine=innodb; begin; insert into t1 values(1); insert into t2 values(1); rollback; select count(*) from t1; select count(*) from t2; sync_slave_with_master; select count(*) from t1; select count(*) from t2; connection master; begin; load data infile '../../../std_data/rpl_loaddata.dat' into table t2; load data infile '../../../std_data/rpl_loaddata.dat' into table t1; rollback; select count(*) from t1; select count(*) from t2; sync_slave_with_master; select count(*) from t1; select count(*) from t2; connection master; delete from t1; delete from t2; begin; load data infile '../../../std_data/rpl_loaddata.dat' into table t2; load data infile '../../../std_data/rpl_loaddata.dat' into table t1; rollback; select count(*) from t1; select count(*) from t2; sync_slave_with_master; select count(*) from t1; select count(*) from t2; connection master; delete from t1; delete from t2; begin; insert into t2 values(3),(4); insert into t1 values(3),(4); load data infile '../../../std_data/rpl_loaddata.dat' into table t2; load data infile '../../../std_data/rpl_loaddata.dat' into table t1; rollback; select count(*) from t1; select count(*) from t2; sync_slave_with_master; select count(*) from t1; select count(*) from t2; connection master; drop table t1,t2; sync_slave_with_master; --source include/rpl_end.inc