Linux ns8.secondary29.go.th 2.6.32-754.28.1.el6.x86_64 #1 SMP Wed Mar 11 18:38:45 UTC 2020 x86_64
Apache/2.2.15 (CentOS)
: 122.154.134.11 | : 122.154.134.9
Cant Read [ /etc/named.conf ]
5.6.40
apache
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
README
+ Create Folder
+ Create File
/
usr /
share /
mysql-test /
suite /
binlog /
t /
[ HOME SHELL ]
Name
Size
Permission
Action
binlog_base64_flag.test
5.38
KB
-rw-r--r--
binlog_bug23533.test
1.45
KB
-rw-r--r--
binlog_bug36391-master.opt
32
B
-rw-r--r--
binlog_bug36391.test
1023
B
-rw-r--r--
binlog_database.test
369
B
-rw-r--r--
binlog_delete_and_flush_index....
3.49
KB
-rw-r--r--
binlog_drop_if_exists.test
3.47
KB
-rw-r--r--
binlog_grant.test
1.82
KB
-rw-r--r--
binlog_incident-master.opt
52
B
-rw-r--r--
binlog_incident.test
939
B
-rw-r--r--
binlog_index-master.opt
16
B
-rw-r--r--
binlog_index.test
7.34
KB
-rw-r--r--
binlog_innodb.test
3.97
KB
-rw-r--r--
binlog_innodb_row.test
2.19
KB
-rw-r--r--
binlog_killed.test
8.21
KB
-rw-r--r--
binlog_killed_simulate-master....
39
B
-rw-r--r--
binlog_killed_simulate.test
2.54
KB
-rw-r--r--
binlog_mix_innodb_stat.test
230
B
-rw-r--r--
binlog_mixed_failure_mixing_en...
143
B
-rw-r--r--
binlog_mixed_load_data.test
501
B
-rw-r--r--
binlog_multi_engine.test
2.78
KB
-rw-r--r--
binlog_mysqlbinlog-cp932-maste...
23
B
-rw-r--r--
binlog_mysqlbinlog-cp932.test
975
B
-rw-r--r--
binlog_mysqlbinlog2.test
7.07
KB
-rw-r--r--
binlog_mysqlbinlog_base64.test
2.45
KB
-rw-r--r--
binlog_mysqlbinlog_row.test
10.67
KB
-rw-r--r--
binlog_mysqlbinlog_row_innodb....
638
B
-rw-r--r--
binlog_mysqlbinlog_row_myisam....
631
B
-rw-r--r--
binlog_mysqlbinlog_row_trans.t...
3.71
KB
-rw-r--r--
binlog_old_versions.test
4.99
KB
-rw-r--r--
binlog_query_filter_rules-mast...
40
B
-rw-r--r--
binlog_query_filter_rules.test
808
B
-rw-r--r--
binlog_reset_master.test
998
B
-rw-r--r--
binlog_row_binlog-master.opt
24
B
-rw-r--r--
binlog_row_binlog.test
223
B
-rw-r--r--
binlog_row_ctype_cp932.test
228
B
-rw-r--r--
binlog_row_ctype_ucs.test
234
B
-rw-r--r--
binlog_row_drop_tmp_tbl.test
232
B
-rw-r--r--
binlog_row_failure_mixing_engi...
141
B
-rw-r--r--
binlog_row_innodb_stat-master....
26
B
-rw-r--r--
binlog_row_innodb_stat.test
228
B
-rw-r--r--
binlog_row_insert_select.test
471
B
-rw-r--r--
binlog_row_mix_innodb_myisam-m...
29
B
-rw-r--r--
binlog_row_mix_innodb_myisam.t...
545
B
-rw-r--r--
binlog_row_mysqlbinlog_db_filt...
4.12
KB
-rw-r--r--
binlog_row_mysqlbinlog_verbose...
3.76
KB
-rw-r--r--
binlog_server_id.test
663
B
-rw-r--r--
binlog_sf.test
2.67
KB
-rw-r--r--
binlog_sql_mode.test
4.58
KB
-rw-r--r--
binlog_start_comment.test
900
B
-rw-r--r--
binlog_statement_insert_delaye...
336
B
-rw-r--r--
binlog_stm_binlog-master.opt
40
B
-rw-r--r--
binlog_stm_binlog.test
483
B
-rw-r--r--
binlog_stm_blackhole.test
267
B
-rw-r--r--
binlog_stm_ctype_cp932.test
278
B
-rw-r--r--
binlog_stm_ctype_ucs.test
249
B
-rw-r--r--
binlog_stm_do_db-master.opt
38
B
-rw-r--r--
binlog_stm_do_db.test
2.78
KB
-rw-r--r--
binlog_stm_drop_tmp_tbl.test
247
B
-rw-r--r--
binlog_stm_innodb_stat-master....
26
B
-rw-r--r--
binlog_stm_innodb_stat.test
234
B
-rw-r--r--
binlog_stm_insert_select.test
252
B
-rw-r--r--
binlog_stm_mix_innodb_myisam-m...
29
B
-rw-r--r--
binlog_stm_mix_innodb_myisam.t...
512
B
-rw-r--r--
binlog_stm_ps.test
701
B
-rw-r--r--
binlog_stm_row.test
3.06
KB
-rw-r--r--
binlog_stm_unsafe_warning-mast...
38
B
-rw-r--r--
binlog_stm_unsafe_warning.test
3.7
KB
-rw-r--r--
binlog_tmp_table.test
3.94
KB
-rw-r--r--
binlog_truncate_innodb-master....
14
B
-rw-r--r--
binlog_truncate_innodb.test
1.07
KB
-rw-r--r--
binlog_truncate_myisam.test
352
B
-rw-r--r--
binlog_unsafe.test
13.34
KB
-rw-r--r--
binlog_write_error.test
2.31
KB
-rw-r--r--
disabled.def
634
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : binlog_killed.test
-- source include/have_innodb.inc -- source include/have_binlog_format_statement.inc # You cannot use `KILL' with the Embedded MySQL Server library, # because the embedded server merely runs inside the threads of the host # application. -- the docs -- source include/not_embedded.inc ### ### bug#22725 : incorrect killed error in binlogged query ### connect (con1, localhost, root,,); connect (con2, localhost, root,,); create table t1 (a int auto_increment, b int, PRIMARY KEY (a)) ENGINE=InnoDB; create table t2 (a int auto_increment, b int, PRIMARY KEY (a)) ENGINE=MyISAM; create table t3 (a int auto_increment, b int, PRIMARY KEY (a)) ENGINE=InnoDB; # # effective test for bug#22725 # connection con1; select get_lock("a", 20); connection con2; let $ID= `select connection_id()`; # # reset master does not reset binlogging on the embedded server. # the test is not run on the embedded for reason of using KILL query. # `reset master' problem is to be addressed by bug#15580 fixes. # reset master; send insert into t2 values (null, null), (null, get_lock("a", 10)); connection con1; disable_abort_on_error; disable_query_log; disable_result_log; eval kill query $ID; connection con2; --error 0,ER_QUERY_INTERRUPTED reap; let $rows= `select count(*) from t2 /* must be 2 or 0 */`; let $MYSQLD_DATADIR= `select @@datadir`; --exec $MYSQL_BINLOG --force-if-open --start-position=134 $MYSQLD_DATADIR/master-bin.000001 > $MYSQLTEST_VARDIR/tmp/kill_query_calling_sp.binlog --replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR eval select (@a:=load_file("$MYSQLTEST_VARDIR/tmp/kill_query_calling_sp.binlog")) is not null; --replace_result $MYSQL_TEST_DIR MYSQL_TEST_DIR let $error_code= `select @a like "%#%error_code=0%" /* must return 1 or 0*/`; let $insert_binlogged= `select @a like "%insert into%" /* must return 1 or 0 */`; eval set @result= $rows- $error_code - $insert_binlogged; enable_abort_on_error; enable_query_log; enable_result_log; select @result /* must be zero either way */; --remove_file $MYSQLTEST_VARDIR/tmp/kill_query_calling_sp.binlog connection con1; select RELEASE_LOCK("a"); # # bug#27571 asynchronous setting mysql_`query`::error and Query_log_e::error_code # # checking that killing inside of select loops is safe as before # killing after the loop can be only simulated - another test delete from t1; delete from t2; insert into t1 values (1,1),(2,2); # # simple update # connection con1; begin; update t1 set b=11 where a=2; connection con2; let $ID= `select connection_id()`; begin; send update t1 set b=b+10; connection con1; --replace_result $ID ID eval kill query $ID; rollback; # Bug #32148 killi query may be ineffective # forced to comment out the test's outcome # and mask out ineffective ER_QUERY_INTERRUPTED # todo1: revert back upon fixing bug#32148 # todo2: the tests need refining in that # killing should wait till the victim requested # its lock (wait_condition available in 5.1 tests) connection con2; --error 0,ER_QUERY_INTERRUPTED reap; rollback; select * from t1 order by a /* must be the same as before (1,1),(2,2) */; # # multi update # commented out as Bug #31807 multi-update,delete killing does not report with ER_QUERY_INTERRUPTED # in the way # # connection con1; # begin; update t1 set b=b+10; # connection con2; # send update t1 as t_1,t1 as t_2 set t_1.b=11 where t_2.a=2; # connection con1; # --replace_result $ID ID # eval kill query $ID; # rollback; # disable_abort_on_error; # connection con2; # --error HY000,ER_QUERY_INTERRUPTED # reap; # select * from t1 /* must be the same as before (1,1),(2,2) */; # enable_abort_on_error; # # simple delete # connection con1; begin; delete from t1 where a=2; connection con2; let $ID= `select connection_id()`; begin; send delete from t1 where a=2; connection con1; --replace_result $ID ID eval kill query $ID; rollback; connection con2; --error 0,ER_QUERY_INTERRUPTED reap; rollback; # todo1,2 above select * from t1 order by a /* must be the same as before (1,1),(2,2) */; # # multi delete # the same as for multi-update # # connection con1; # begin; delete from t1 where a=2; # connection con2; # send delete t1 from t1 where t1.a=2; # connection con1; # --replace_result $ID ID # eval kill query $ID; # rollback; # connection con2; # --error 0,ER_QUERY_INTERRUPTED # reap; # select * from t1 /* must be the same as before (1,1),(2,2) */; # # insert select # connection con1; --disable_warnings drop table if exists t4; --enable_warnings create table t4 (a int, b int) engine=innodb; insert into t4 values (3, 3); begin; insert into t1 values (3, 3); connection con2; let $ID= `select connection_id()`; begin; send insert into t1 select * from t4 for update; connection con1; --replace_result $ID ID eval kill query $ID; rollback; connection con2; --error 0,ER_QUERY_INTERRUPTED reap; # todo 1,2 above rollback; select * from t1 /* must be the same as before (1,1),(2,2) */; drop table t4; # cleanup for the sub-case ### ## non-ta table case: killing must be recorded in binlog ### create table t4 (a int, b int) ENGINE=MyISAM /* for killing update and delete */; delimiter |; create function bug27563(n int) RETURNS int(11) DETERMINISTIC begin if @b > 0 then select get_lock("a", 20) into @a; else set @b= 1; end if; return n; end| delimiter ;| # # update # delete from t4; insert into t4 values (1,1), (1,1); reset master; connection con1; select get_lock("a", 20); connection con2; let $ID= `select connection_id()`; set @b= 0; send update t4 set b=b + bug27563(b); connection con1; let $wait_condition= select count(*) = 1 FROM INFORMATION_SCHEMA.PROCESSLIST where state='User lock'; source include/wait_condition.inc; select count(*) FROM INFORMATION_SCHEMA.PROCESSLIST where state='User lock'; --replace_result $ID ID eval kill query $ID; connection con2; --error ER_QUERY_INTERRUPTED reap; select * from t4 order by b /* must be (1,1), (1,2) */; select @b /* must be 1 at the end of a stmt calling bug27563() */; --echo must have the update query event more to FD source include/show_binlog_events.inc; # a proof the query is binlogged with an error --exec $MYSQL_BINLOG --force-if-open --start-position=106 $MYSQLD_DATADIR/master-bin.000001 > $MYSQLTEST_VARDIR/tmp/binlog_killed_bug27571.binlog --replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR eval select (@a:=load_file("$MYSQLTEST_VARDIR/tmp/binlog_killed_bug27571.binlog")) is not null; --replace_result $MYSQL_TEST_DIR MYSQL_TEST_DIR let $error_code= `select @a like "%#%error_code=0%" /* must return 0*/`; eval select $error_code /* must return 0 to mean the killed query is in */; # cleanup for the sub-case connection con1; select RELEASE_LOCK("a"); --remove_file $MYSQLTEST_VARDIR/tmp/binlog_killed_bug27571.binlog # # delete # delete from t4; insert into t4 values (1,1), (2,2); reset master; connection con1; select get_lock("a", 20); connection con2; let $ID= `select connection_id()`; set @b= 0; send delete from t4 where b=bug27563(1) or b=bug27563(2); connection con1; let $wait_condition= select count(*) = 1 FROM INFORMATION_SCHEMA.PROCESSLIST where state='User lock'; source include/wait_condition.inc; select count(*) FROM INFORMATION_SCHEMA.PROCESSLIST where state='User lock'; --replace_result $ID ID eval kill query $ID; connection con2; --error ER_QUERY_INTERRUPTED reap; select count(*) from t4 /* must be 1 */; select @b /* must be 1 at the end of a stmt calling bug27563() */; --echo must have the delete query event more to FD source include/show_binlog_events.inc; # a proof the query is binlogged with an error --exec $MYSQL_BINLOG --force-if-open --start-position=106 $MYSQLD_DATADIR/master-bin.000001 > $MYSQLTEST_VARDIR/tmp/binlog_killed_bug27571.binlog --replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR eval select (@a:=load_file("$MYSQLTEST_VARDIR/tmp/binlog_killed_bug27571.binlog")) is not null; --replace_result $MYSQL_TEST_DIR MYSQL_TEST_DIR let $error_code= `select @a like "%#%error_code=0%" /* must return 0*/`; eval select $error_code /* must return 0 to mean the killed query is in */; # cleanup for the sub-case connection con1; select RELEASE_LOCK("a"); --remove_file $MYSQLTEST_VARDIR/tmp/binlog_killed_bug27571.binlog drop table t4; # # load data - see simulation tests # # bug#27571 cleanup drop function bug27563; # # common cleanup # drop table t1,t2,t3; --echo end of the tests
Close