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 | : 18.118.136.90
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 /
extra /
binlog_tests /
[ HOME SHELL ]
Name
Size
Permission
Action
binlog.test
10.5
KB
-rw-r--r--
binlog_cache_stat.test
13.09
KB
-rw-r--r--
binlog_gtid_mode_permissive_se...
1.07
KB
-rw-r--r--
binlog_gtid_mode_set_gtid_next...
1.92
KB
-rw-r--r--
binlog_gtid_next_xa.inc
5.73
KB
-rw-r--r--
binlog_implicit_commit.inc
1.6
KB
-rw-r--r--
binlog_innodb.inc
3.9
KB
-rw-r--r--
binlog_mysqlbinlog_fill.inc
1.76
KB
-rw-r--r--
binlog_mysqlbinlog_row.inc
12.67
KB
-rw-r--r--
binlog_mysqlbinlog_start_stop....
1.81
KB
-rw-r--r--
binlog_row_kill_create_select....
1.82
KB
-rw-r--r--
binlog_truncate.test
1.6
KB
-rw-r--r--
binlog_xa_prepare_connection.i...
903
B
-rw-r--r--
binlog_xa_prepare_disconnect.i...
1.11
KB
-rw-r--r--
binlog_xa_prepared.test
6.05
KB
-rw-r--r--
binlog_xa_prepared_do_and_rest...
9.59
KB
-rw-r--r--
blackhole.test
5.67
KB
-rw-r--r--
ctype_cp932.test
27.77
KB
-rw-r--r--
ctype_cp932_binlog.test
1.25
KB
-rw-r--r--
ctype_ucs_binlog.test
684
B
-rw-r--r--
database.test
2.78
KB
-rw-r--r--
drop_table.test
619
B
-rw-r--r--
drop_temp_table.test
7.9
KB
-rw-r--r--
enforce_gtid_consistency.test
5.4
KB
-rw-r--r--
enforce_gtid_consistency_creat...
2.96
KB
-rw-r--r--
enforce_gtid_consistency_creat...
3.53
KB
-rw-r--r--
enforce_gtid_consistency_state...
9.6
KB
-rw-r--r--
enforce_gtid_consistency_tmp_c...
3.77
KB
-rw-r--r--
enforce_gtid_consistency_tmp_v...
3.35
KB
-rw-r--r--
enforce_gtid_consistency_trx_n...
5.46
KB
-rw-r--r--
enforce_gtid_consistency_trx_n...
3.39
KB
-rw-r--r--
gtid_next_begin_caused_trx.tes...
3.11
KB
-rw-r--r--
gtid_next_single_stmt_trx_roll...
11.01
KB
-rw-r--r--
gtid_next_single_stmt_trx_roll...
10.92
KB
-rw-r--r--
gtid_next_xa.test
3.65
KB
-rw-r--r--
gtid_next_xa_error_simul.test
8.37
KB
-rw-r--r--
implicit.test
567
B
-rw-r--r--
insert_select-binlog.test
1.03
KB
-rw-r--r--
logical_timestamping.inc
5.4
KB
-rw-r--r--
mix_innodb_myisam_binlog.test
15.98
KB
-rw-r--r--
mix_innodb_myisam_side_effects...
6.47
KB
-rw-r--r--
mysqlbinlog_rewrite_db.test
3.47
KB
-rw-r--r--
mysqlbinlog_row_engine.inc
43.86
KB
-rw-r--r--
mysqlbinlog_start_stop_1.inc
1.71
KB
-rw-r--r--
mysqlbinlog_start_stop_2.inc
1.19
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : logical_timestamping.inc
RESET MASTER; # A first event in a new binlog has commit parent timestamp as zero # and itself as one. CREATE TABLE t1 (a int) ENGINE= innodb; --let $binlog_file= master-bin.000001 --let $logical_timestamps= 0 1 --source include/assert_logical_timestamps.inc # A next transaction increments either counter --let $binlog_position= query_get_value(SHOW MASTER STATUS, Position, 1) INSERT INTO t1 SET a=1; --let $logical_timestamps= 1 2 --source include/assert_logical_timestamps.inc # Transaction's last committed timestamp is computed at its last # being executed query. # Due to this two last logged transactions in the following sequence # must have the same last comitted timestamp. connect (one,localhost,root,,test); connect (two,localhost,root,,test); connect (three,localhost,root,,test); --let $rpl_connection_name=one --source include/rpl_connection.inc BEGIN; INSERT INTO t1 SET a=1; --let $rpl_connection_name=two --source include/rpl_connection.inc # (transaction timestamp,last committed) (2,3) BEGIN; INSERT INTO t1 SET a=2; COMMIT; --let $rpl_connection_name=one --source include/rpl_connection.inc INSERT INTO t1 SET a=1; --let $rpl_connection_name=two --source include/rpl_connection.inc --let $binlog_position= query_get_value(SHOW MASTER STATUS, Position, 1) # (3,4) BEGIN; INSERT INTO t1 SET a=2; COMMIT; --let $logical_timestamps= 3 4 --source include/assert_logical_timestamps.inc --let $rpl_connection_name=one --source include/rpl_connection.inc # (3,5) --let $binlog_position= query_get_value(SHOW MASTER STATUS, Position, 1) COMMIT; --let $logical_timestamps= 3 5 --source include/assert_logical_timestamps.inc # Two independent and concurrent (autoincrement) transaction will either # have the same commit parent as the last committed of so far, or # one of them will be such to another. --let $binlog_position= query_get_value(SHOW MASTER STATUS, Position, 1) --let $rpl_connection_name=one --source include/rpl_connection.inc --send INSERT INTO t1 SET a=1 --let $rpl_connection_name=two --source include/rpl_connection.inc --send INSERT INTO t1 SET a=2 --let $rpl_connection_name=one --source include/rpl_connection.inc --reap --let $rpl_connection_name=two --source include/rpl_connection.inc --reap --let $logical_timestamps= 5 6;[56] 7 --source include/assert_logical_timestamps.inc # # Testing logging of transaction that commits after binlog rotation. # The last committed of "rotated" transaction # must be set to the uninitialized (0) value. # --let $rpl_connection_name=one --source include/rpl_connection.inc RESET MASTER; INSERT INTO t1 SET a=1; --let $rpl_connection_name=two --source include/rpl_connection.inc BEGIN; INSERT INTO t1 SET a=2; --let $rpl_connection_name=one --source include/rpl_connection.inc BEGIN; INSERT INTO t1 SET a=3; --let $rpl_connection_name=two --source include/rpl_connection.inc COMMIT; # Not "rotated" 2nd transaction is logged following the regular rule. # Its timestamp pair of (1,2) must be found. --let $binlog_position= --let $logical_timestamps= 0 1;1 2 --source include/assert_logical_timestamps.inc FLUSH LOGS; --let $rpl_connection_name=one --source include/rpl_connection.inc COMMIT; # Now the proof: the "rotated" transaction is logged with uninitialized last committed # as expected. Its timestamp pair of (0,1) must be found. --let $binlog_file= master-bin.000002 --let $logical_timestamps= 0 1 --source include/assert_logical_timestamps.inc # # Testing logging of transaction that commits after RESET MASTER. # The last committed of "rotated" transactions # must be set to the uninitialized (0) value. # --let $rpl_connection_name=one --source include/rpl_connection.inc RESET MASTER; INSERT INTO t1 SET a=1; --let $rpl_connection_name=two --source include/rpl_connection.inc BEGIN; INSERT INTO t1 SET a=2; --let $rpl_connection_name=one --source include/rpl_connection.inc BEGIN; INSERT INTO t1 SET a=3; --let $rpl_connection_name=three --source include/rpl_connection.inc BEGIN; INSERT INTO t1 SET a=4; --let $rpl_connection_name=two --source include/rpl_connection.inc COMMIT; # Not "rotated" 2nd transaction is logged following the regular rule. # Its timestamp pair of (1,2) must be found. --let $binlog_file= master-bin.000001 --let $logical_timestamps= 0 1;1 2 --source include/assert_logical_timestamps.inc RESET MASTER; --let $rpl_connection_name=one --source include/rpl_connection.inc COMMIT; --let $rpl_connection_name=three --source include/rpl_connection.inc COMMIT; # Now the proof: the "rotated" transactions are logged with uninitialized last committed # as expected. Its timestamp pair of (0,[12]) must be found. --let $logical_timestamps= 0 1;0 2 --source include/assert_logical_timestamps.inc # # Cleanup # DROP TABLE t1; # # Testing DROP of multiple tables logging when a query produces few groups # into binary log. # CREATE TABLE t1 (a int) ENGINE= innodb; CREATE TABLE tm (a int) ENGINE= MyISAM; RESET MASTER; CREATE TEMPORARY TABLE ttm1 (a INT) ENGINE=MyISAM; CREATE TEMPORARY TABLE tti1 (a INT) ENGINE=Innodb; # The query is logged in three parts where only # the first one is sequenced. # Such logging is caused by just one cache is used for logging. --echo *** The query is logged in three parts. DROP TABLE tm,t1,ttm1,tti1; --let $logical_timestamps= 0 1;1 2;2 3;3 4;4 5 --source include/assert_logical_timestamps.inc # # The final grep invocation should be done by the top level part. # It may produce results sensitive to the test environment (e.g GTID). #
Close