Linux ip-172-26-2-223 5.4.0-1018-aws #18-Ubuntu SMP Wed Jun 24 01:15:00 UTC 2020 x86_64
Apache
: 172.26.2.223 | : 13.59.196.41
Cant Read [ /etc/named.conf ]
8.1.13
www
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
www /
server /
mysql /
mysql-test /
suite /
ndb_binlog /
t /
[ HOME SHELL ]
Name
Size
Permission
Action
binlog_multi_engine.test
3.44
KB
-rw-r--r--
disabled.def
405
B
-rw-r--r--
ndb_binlog_basic.test
4.89
KB
-rw-r--r--
ndb_binlog_check_binlog_index....
8.88
KB
-rw-r--r--
ndb_binlog_cmp_epoch_vals.inc
1.51
KB
-rw-r--r--
ndb_binlog_ddl_multi.test
3.9
KB
-rw-r--r--
ndb_binlog_default_format-mast...
10
B
-rw-r--r--
ndb_binlog_default_format.cnf
663
B
-rw-r--r--
ndb_binlog_default_format.test
576
B
-rw-r--r--
ndb_binlog_discover.test
1.85
KB
-rw-r--r--
ndb_binlog_discover_multi.test
2.37
KB
-rw-r--r--
ndb_binlog_eventbuffer.test
699
B
-rw-r--r--
ndb_binlog_flush_log_waits.tes...
1.86
KB
-rw-r--r--
ndb_binlog_flush_tables_with_r...
5.47
KB
-rw-r--r--
ndb_binlog_format.test
1.37
KB
-rw-r--r--
ndb_binlog_get_binlog_stmts.in...
122
B
-rw-r--r--
ndb_binlog_get_binlog_stmts_ba...
2.91
KB
-rw-r--r--
ndb_binlog_get_row_extra_data....
1.02
KB
-rw-r--r--
ndb_binlog_ignore_db-master.op...
53
B
-rw-r--r--
ndb_binlog_ignore_db.test
2.39
KB
-rw-r--r--
ndb_binlog_index.test
2.61
KB
-rw-r--r--
ndb_binlog_index_test_schema_i...
4.13
KB
-rw-r--r--
ndb_binlog_init_epoch_vals.inc
355
B
-rw-r--r--
ndb_binlog_last_commit_epoch.t...
2.23
KB
-rw-r--r--
ndb_binlog_log_apply_status.te...
1.88
KB
-rw-r--r--
ndb_binlog_log_bin.test
1.53
KB
-rw-r--r--
ndb_binlog_log_reads.cnf
1
KB
-rw-r--r--
ndb_binlog_log_reads.test
18.2
KB
-rw-r--r--
ndb_binlog_log_transaction_id-...
59
B
-rw-r--r--
ndb_binlog_log_transaction_id....
3.25
KB
-rw-r--r--
ndb_binlog_manual_apply.cnf
61
B
-rw-r--r--
ndb_binlog_manual_apply.test
1.79
KB
-rw-r--r--
ndb_binlog_multi.test
3.4
KB
-rw-r--r--
ndb_binlog_purge-master.opt
77
B
-rw-r--r--
ndb_binlog_purge.test
2.71
KB
-rw-r--r--
ndb_binlog_restore.test
5.16
KB
-rw-r--r--
ndb_binlog_size_based_rotate.t...
597
B
-rw-r--r--
ndb_binlog_test_conflict_flags...
3.63
KB
-rw-r--r--
ndb_binlog_unique_epoch.cnf
164
B
-rw-r--r--
ndb_binlog_unique_epoch.test
3.86
KB
-rw-r--r--
ndb_binlog_variants.cnf
975
B
-rw-r--r--
ndb_binlog_variants.test
10.74
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : ndb_binlog_basic.test
# The include statement below is a temp one for tests that are yet to #be ported to run with InnoDB, #but needs to be kept for tests that would need MyISAM in future. --source include/force_myisam_default.inc -- source include/have_ndb.inc -- source include/have_binlog_format_mixed_or_row.inc --disable_warnings drop table if exists t1, t2; drop database if exists mysqltest; create database mysqltest; use mysqltest; drop database mysqltest; use test; --enable_warnings # # basic insert, update, delete test, alter, rename, drop # check that ndb_binlog_index gets the right info # reset master; create table t1 (a int primary key) engine=ndb; insert into t1 values (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); save_master_pos; --replace_column 1 # select @max_epoch:=max(epoch)-1 from mysql.ndb_binlog_index; delete from t1; alter table t1 add (b int); insert into t1 values (3,3),(4,4); alter table t1 rename t2; # get all in one epoch begin; insert into t2 values (1,1),(2,2); update t2 set b=1 where a=3; delete from t2 where a=4; commit; drop table t2; # check that above is ok # (save_master_pos waits for last gcp to complete, ensuring that we have # the expected data in the binlog) save_master_pos; select inserts from mysql.ndb_binlog_index where epoch > @max_epoch and inserts > 5; select deletes from mysql.ndb_binlog_index where epoch > @max_epoch and deletes > 5; select inserts,updates,deletes from mysql.ndb_binlog_index where epoch > @max_epoch and updates > 0; # # check that purge clears the ndb_binlog_index # # TODO: make this deterministic # This test is disabled until we can make this determistic under load. # The problem is that in some cases, the binlog writing thread gets # scheduled after the purge, writes pending things, then the select # gets scheduled # flush logs; --sleep 1 --replace_regex /\.[\\\/]mysqld/.\/mysqld/; purge master logs before now(); --disable_parsing select count(*) from mysql.ndb_binlog_index; --enable_parsing # # several tables in different databases # check that same table name in different databases don't mix up # create table t1 (a int primary key, b int) engine=ndb; create database mysqltest; use mysqltest; create table t1 (c int, d int primary key) engine=ndb; use test; insert into mysqltest.t1 values (2,1),(2,2); save_master_pos; --replace_column 1 # select @max_epoch:=max(epoch)-1 from mysql.ndb_binlog_index; drop table t1; drop database mysqltest; select inserts,updates,deletes from mysql.ndb_binlog_index where epoch > @max_epoch and inserts > 0; # # Check optimize table does not send any event to binlog # create table t1 (c1 int not null primary key, c2 blob default null) engine=ndbcluster default charset=latin1; insert into t1 values (1, null), (2, null), (3, null), (4, null); insert into t1 select c1+4,c2 from t1; insert into t1 select c1+8,c2 from t1; insert into t1 select c1+16,c2 from t1; insert into t1 select c1+32,c2 from t1; insert into t1 select c1+64,c2 from t1; insert into t1 select c1+128,c2 from t1; insert into t1 select c1+256,c2 from t1; insert into t1 select c1+512,c2 from t1; # wait for last gcp to complete, ensuring that we have # the expected data in the binlog save_master_pos; let $before = `select count(*) from mysql.ndb_binlog_index where epoch > @max_epoch and (inserts > 0 or updates > 0 or deletes > 0)`; optimize table t1; save_master_pos; # Ensure that optimize have not sent any event to binlog let $optimize_diff = `select count(*) <> $before from mysql.ndb_binlog_index where epoch > @max_epoch and (inserts > 0 or updates > 0 or deletes > 0)`; if ($optimize_diff) { die Optimize table should not send any events to binlog; } drop table t1; # # Make binlog to ignore an empty blob column update # having before- and after-values 'null' # when performed in a separate epoch and # empty epochs are not logged. # Run the test twice, with ndb_log_empty_epochs ON and OFF. # let $repetitions=2; SET GLOBAL ndb_log_empty_epochs=ON; while ($repetitions) { SHOW VARIABLES LIKE 'ndb_log_empty_epochs'; create table t1 (c1 int not null primary key, c2 blob default null) engine=ndbcluster default charset=latin1; insert into t1 values (1, null); # Avoid the following update being performed within the same epoch by # synchronising with Binlog --disable_result_log show binlog events; --enable_result_log update t1 set c2=null; select * from t1; --disable_result_log show binlog events; --enable_result_log optimize table t1; select * from t1; drop table t1; create table t1 (c1 int not null primary key, c2 varchar(1024) default null) engine=ndbcluster default charset=latin1; insert into t1 values (3, null); select * from t1; --disable_result_log show binlog events; --enable_result_log optimize table t1; select * from t1; drop table t1; # Repeat the test with SET GLOBAL ndb_log_empty_epochs=OFF; --disable_result_log show binlog events; --enable_result_log dec $repetitions; }
Close