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.225.175.56
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 /
x /
t /
[ HOME SHELL ]
Name
Size
Permission
Action
macros
[ DIR ]
drwxr-xr-x
admin_bogus.test
600
B
-rw-r--r--
admin_bogus_mysqlx.test
597
B
-rw-r--r--
admin_create_collection.test
3.29
KB
-rw-r--r--
admin_create_collection_mysqlx...
2.67
KB
-rw-r--r--
admin_create_index_datetime.te...
5.15
KB
-rw-r--r--
admin_create_index_datetime_my...
2.6
KB
-rw-r--r--
admin_create_index_string.test
12.03
KB
-rw-r--r--
admin_create_index_string_mysq...
3.29
KB
-rw-r--r--
admin_ensure_collection.test
4.51
KB
-rw-r--r--
admin_ensure_collection_mysqlx...
3.7
KB
-rw-r--r--
admin_kill.test
2.36
KB
-rw-r--r--
admin_kill_client_mysqlx.test
1.69
KB
-rw-r--r--
admin_list_objects.test
2.57
KB
-rw-r--r--
admin_list_objects_case_insens...
577
B
-rw-r--r--
admin_list_objects_case_insens...
735
B
-rw-r--r--
admin_list_objects_case_sensit...
353
B
-rw-r--r--
admin_list_objects_case_sensit...
27
B
-rw-r--r--
admin_list_objects_case_sensit...
394
B
-rw-r--r--
admin_list_objects_mysqlx.test
2.59
KB
-rw-r--r--
admin_ping.test
484
B
-rw-r--r--
admin_ping_mysqlx.test
1.21
KB
-rw-r--r--
admin_xkill.test
44.87
KB
-rw-r--r--
binary_log-master.opt
110
B
-rw-r--r--
binary_log.test
1.2
KB
-rw-r--r--
bug_23028052.test
2.56
KB
-rw-r--r--
capabilities-master.opt
42
B
-rw-r--r--
capabilities.test
10.19
KB
-rw-r--r--
client_close.test
8.23
KB
-rw-r--r--
client_close_abort.test
1.93
KB
-rw-r--r--
client_session.test
1.61
KB
-rw-r--r--
connection.test
31.38
KB
-rw-r--r--
connection_default_schema.test
2.3
KB
-rw-r--r--
connection_expire.test
7.4
KB
-rw-r--r--
connection_expired_certs-maste...
167
B
-rw-r--r--
connection_expired_certs.test
677
B
-rw-r--r--
connection_ipv6-master.opt
35
B
-rw-r--r--
connection_ipv6.test
5.39
KB
-rw-r--r--
connection_nonssl-master.opt
42
B
-rw-r--r--
connection_nonssl.test
5.97
KB
-rw-r--r--
connection_openssl-master.opt
273
B
-rw-r--r--
connection_openssl.test
70
B
-rw-r--r--
connection_require_secure_tran...
2.77
KB
-rw-r--r--
connection_reset_by_peer.test
1.01
KB
-rw-r--r--
connection_skip_grant_table.te...
2.88
KB
-rw-r--r--
connection_skip_networking.tes...
3.21
KB
-rw-r--r--
connection_skip_networking_win...
57
B
-rw-r--r--
connection_skip_networking_win...
1.77
KB
-rw-r--r--
connection_timeout.test
2.72
KB
-rw-r--r--
connection_tls_version-master....
300
B
-rw-r--r--
connection_tls_version.test
4.47
KB
-rw-r--r--
connection_unixsocket.test
6.81
KB
-rw-r--r--
connection_unixsocket_invalid....
7.29
KB
-rw-r--r--
connection_unixsocket_lock.tes...
3.15
KB
-rw-r--r--
connection_unixsocket_rpl.test
7.17
KB
-rw-r--r--
connection_user_authentication...
89
B
-rw-r--r--
connection_user_authentication...
85
B
-rw-r--r--
connection_without_session.tes...
464
B
-rw-r--r--
connection_yassl-master.opt
272
B
-rw-r--r--
create_alter_sql.test
7.07
KB
-rw-r--r--
create_drop_collection_crud.te...
17.36
KB
-rw-r--r--
create_index_crud.test
23.75
KB
-rw-r--r--
crud_asterisk.test
1.65
KB
-rw-r--r--
crud_create_view-master.opt
31
B
-rw-r--r--
crud_create_view.test
5.47
KB
-rw-r--r--
crud_debug.test
6.46
KB
-rw-r--r--
crud_delete_args.test
2.16
KB
-rw-r--r--
crud_doc_criteria_args.test
21.18
KB
-rw-r--r--
crud_doc_expr_array.test
14.41
KB
-rw-r--r--
crud_doc_expr_object.test
6.69
KB
-rw-r--r--
crud_drop_view.test
1.12
KB
-rw-r--r--
crud_find_args.test
5.47
KB
-rw-r--r--
crud_find_doc_criteria.test
3.17
KB
-rw-r--r--
crud_find_doc_groupby.test
5.82
KB
-rw-r--r--
crud_find_groupby.test
8.13
KB
-rw-r--r--
crud_insert_args.test
2.01
KB
-rw-r--r--
crud_insert_cast.test
8.81
KB
-rw-r--r--
crud_insert_default.test
2.52
KB
-rw-r--r--
crud_insert_expr.test
2.66
KB
-rw-r--r--
crud_insert_nodoc.test
814
B
-rw-r--r--
crud_modify_view.test
2.4
KB
-rw-r--r--
crud_myisam_memory.test
9
KB
-rw-r--r--
crud_octets_content_type.test
2.35
KB
-rw-r--r--
crud_order_by.test
1.47
KB
-rw-r--r--
crud_pipe.test
4.18
KB
-rw-r--r--
crud_resultset_metadata.test
965
B
-rw-r--r--
crud_rpl.test
6.69
KB
-rw-r--r--
crud_sundries.test
20.07
KB
-rw-r--r--
crud_table_criteria_args.test
17.61
KB
-rw-r--r--
crud_table_expr_array.test
14.32
KB
-rw-r--r--
crud_table_expr_object.test
5.9
KB
-rw-r--r--
crud_update_args.test
3.37
KB
-rw-r--r--
crud_update_table_json.test
7.16
KB
-rw-r--r--
crud_view_sundries.test
2.95
KB
-rw-r--r--
delete_crud_1.test
6.81
KB
-rw-r--r--
delete_crud_o.test
23.94
KB
-rw-r--r--
delete_del_all.test
1.5
KB
-rw-r--r--
delete_del_bad_collection.test
1.98
KB
-rw-r--r--
delete_del_bad_expr.test
1.83
KB
-rw-r--r--
delete_del_missing_arg.test
1.81
KB
-rw-r--r--
delete_del_multi_by_expr.test
1.88
KB
-rw-r--r--
delete_del_multi_by_id.test
1.55
KB
-rw-r--r--
delete_del_none_by_expr.test
1.88
KB
-rw-r--r--
delete_del_none_table.test
2.41
KB
-rw-r--r--
delete_del_one_by_expr.test
2.38
KB
-rw-r--r--
delete_del_table.test
1.78
KB
-rw-r--r--
delete_del_table_doc.test
2.94
KB
-rw-r--r--
delete_del_table_order.test
2.32
KB
-rw-r--r--
delete_sql_o.test
7.77
KB
-rw-r--r--
disabled.def
259
B
-rw-r--r--
drop_index_crud.test
26.67
KB
-rw-r--r--
expect_noerror.test
5.51
KB
-rw-r--r--
fieldtypes_all.test
6.1
KB
-rw-r--r--
find_crud_conditionalclauses_o...
24.24
KB
-rw-r--r--
find_crud_groupby_o.test
16.22
KB
-rw-r--r--
find_doc_proj.test
8.52
KB
-rw-r--r--
find_doc_simple.test
5.28
KB
-rw-r--r--
find_docpath_expr.test
5.09
KB
-rw-r--r--
find_funtion_call.test
34.5
KB
-rw-r--r--
find_table_find.test
5.18
KB
-rw-r--r--
find_table_find_as_doc.test
4.5
KB
-rw-r--r--
find_table_find_rows_proj.test
5.3
KB
-rw-r--r--
forbidden_sql_cmd.test
1.28
KB
-rw-r--r--
input_queue.test
3.81
KB
-rw-r--r--
insert_crud_1.test
16.11
KB
-rw-r--r--
insert_crud_o.test
25.09
KB
-rw-r--r--
insert_doc_bad_proj.test
1.79
KB
-rw-r--r--
insert_doc_id.test
1.74
KB
-rw-r--r--
insert_doc_id_dup.test
2.61
KB
-rw-r--r--
insert_doc_noid.test
1.72
KB
-rw-r--r--
insert_sql_o.test
5.24
KB
-rw-r--r--
insert_table.test
8.29
KB
-rw-r--r--
insert_table_bad_column.test
2.27
KB
-rw-r--r--
insert_table_bad_column_type.t...
5.1
KB
-rw-r--r--
insert_table_bad_numcolumns.te...
5.39
KB
-rw-r--r--
insert_table_escape_identifier...
1.19
KB
-rw-r--r--
insert_table_missing_notnull_c...
1.17
KB
-rw-r--r--
insert_table_string_quoting.te...
1.31
KB
-rw-r--r--
installxplugin.test
11.13
KB
-rw-r--r--
killconnection.test
4.78
KB
-rw-r--r--
message_empty_payload.test
1.42
KB
-rw-r--r--
message_protobuf_nested-master...
31
B
-rw-r--r--
message_protobuf_nested.test
2.55
KB
-rw-r--r--
multiple_resultsets_and_out_pa...
4.72
KB
-rw-r--r--
mysql_session_user.test
2.91
KB
-rw-r--r--
mysqlx_server_var.test
6.25
KB
-rw-r--r--
mysqlxtest_help.test
620
B
-rw-r--r--
notice_warning.test
2.61
KB
-rw-r--r--
notice_warning_mysqlx.test
2.14
KB
-rw-r--r--
notices_disable-master.opt
53
B
-rw-r--r--
notices_disable.test
31.05
KB
-rw-r--r--
notices_disable_mysqlx-master....
53
B
-rw-r--r--
notices_disable_mysqlx.test
21.94
KB
-rw-r--r--
notices_enable-master.opt
86
B
-rw-r--r--
notices_enable.test
33.99
KB
-rw-r--r--
notices_enable_mysqlx-master.o...
86
B
-rw-r--r--
notices_enable_mysqlx.test
25.1
KB
-rw-r--r--
performance_schema-master.opt
167
B
-rw-r--r--
performance_schema.test
20.09
KB
-rw-r--r--
performance_schema_memory.test
5.61
KB
-rw-r--r--
performance_schema_sockets-mas...
167
B
-rw-r--r--
performance_schema_sockets.tes...
8.59
KB
-rw-r--r--
performance_schema_threads-mas...
211
B
-rw-r--r--
performance_schema_threads.tes...
2.26
KB
-rw-r--r--
performance_schema_unixsockets...
8.41
KB
-rw-r--r--
plugin_license.test
613
B
-rw-r--r--
regression-master.opt
82
B
-rw-r--r--
regression.test
4.74
KB
-rw-r--r--
result_types.test
896
B
-rw-r--r--
session_reset.test
2.18
KB
-rw-r--r--
status_bytes_received.test
2.04
KB
-rw-r--r--
status_variable_errors_unknown...
31
B
-rw-r--r--
status_variable_errors_unknown...
3.15
KB
-rw-r--r--
status_variable_notices.test
751
B
-rw-r--r--
status_variables-master.opt
42
B
-rw-r--r--
status_variables.test
13.86
KB
-rw-r--r--
status_variables_incrementing....
2.52
KB
-rw-r--r--
stmtexecute_query_no_result.te...
1.07
KB
-rw-r--r--
stmtexecute_query_result.test
1.45
KB
-rw-r--r--
stmtexecute_status_vars.test
18.41
KB
-rw-r--r--
stmtexecute_with_args.test
5.27
KB
-rw-r--r--
suite.opt
30
B
-rw-r--r--
system_variable_bind_address.t...
2.27
KB
-rw-r--r--
system_variable_max_allowed_pa...
31
B
-rw-r--r--
system_variable_max_allowed_pa...
1.6
KB
-rw-r--r--
system_variable_min_worker_thr...
709
B
-rw-r--r--
system_variable_port_open_time...
6.79
KB
-rw-r--r--
system_variables.test
4.18
KB
-rw-r--r--
update_crud_arrayappend_o.test
17.02
KB
-rw-r--r--
update_crud_arrayinsert_o.test
21.96
KB
-rw-r--r--
update_crud_itemmerge_o.test
16.5
KB
-rw-r--r--
update_crud_o.test
31.18
KB
-rw-r--r--
update_crud_remove_o.test
14.41
KB
-rw-r--r--
update_crud_replace_o.test
18.42
KB
-rw-r--r--
update_doc.test
22.58
KB
-rw-r--r--
update_sql_o.test
5.23
KB
-rw-r--r--
update_table.test
9.51
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : notices_disable_mysqlx.test
## This is test file for verification of disabiling warning,password_expired,generated_insert_id,rows_affected,produced_message notices and their functionality ## Preamble --source ../include/xplugin_preamble.inc ## Test starts here --let $xtest_result= $MYSQL_TMP_DIR/stmtexecute_query_result_mysqlx.tmp --write_file $xtest_result -->quiet -->stmtadmin disable_notices {"notice": "warnings"} -->recvresult -->echo check with password function which is deprecated -->stmtsql select 1/0,1/0,password('test'),password('') -->recvresult -->echo check with dropping db which doesn't exists -->stmtsql drop database if exists mysqltest; -->recvresult -->echo check with dropping table which doesn't exists -->stmtsql drop table if exists test.mysqltest; -->recvresult -->echo check with dropping procedure which doesn't exists -->stmtsql drop procedure if exists test.test_invalid; -->recvresult -->echo check with dropping function which doesn't exists -->stmtsql drop function if exists test.test_signal_func; -->recvresult -->echo check with dropping view which doesn't exists -->stmtsql drop view if exists test.v1; -->recvresult -->echo out of range values for INT,UNSIGN INT -->stmtsql create table test.t1 (c1 INT, c2 INT UNSIGNED); -->recvresult -->stmtsql insert ignore into test.t1 values ('21474836461','21474836461'); -->recvresult -->stmtsql insert ignore into test.t1 values ('-21474836461','-21474836461'); -->recvresult -->stmtsql drop table test.t1; -->recvresult -->echo checking double data type -->stmtsql create table test.t1 (grp int, a bigint unsigned, c char(10) not null, d char(10) not null); -->recvresult -->stmtsql insert into test.t1 values (1,1,"a","a"); -->recvresult -->stmtsql insert into test.t1 values (2,2,"b","a"); -->recvresult -->stmtsql insert into test.t1 values (2,3,"c","b"); -->recvresult -->stmtsql insert into test.t1 values (3,4,"E","a"); -->recvresult -->stmtsql insert into test.t1 values (3,5,"C","b"); -->recvresult -->stmtsql insert into test.t1 values (3,6,"D","b"); -->recvresult -->stmtsql insert into test.t1 values (3,7,"d","d"); -->recvresult -->stmtsql insert into test.t1 values (3,8,"d","d"); -->recvresult -->stmtsql insert into test.t1 values (3,9,"D","c"); -->recvresult -->stmtsql select grp,group_concat(a order by a,d+c-ascii(c)-a) from test.t1 group by grp; -->recvresult -->stmtsql select grp,group_concat(a order by d+c-ascii(c),a) from test.t1 group by grp; -->recvresult -->stmtsql set group_concat_max_len = 4; -->recvresult -->stmtsql select grp,group_concat(c order by c) from test.t1 group by grp; -->recvresult -->stmtsql drop table test.t1; -->recvresult -->echo checking character data type -->echo Error is returned instead of warning for insert operation with xplugin -->stmtsql SET sql_mode = 'NO_ENGINE_SUBSTITUTION'; -->recvresult -->stmtsql prepare stmt from 'create table test.t1 (a varchar(10) character set utf8)'; -->recvresult -->stmtsql execute stmt; -->recvresult -->stmtsql insert into test.t1 (a) values (repeat('a', 20)); -->recvresult -->stmtsql select length(a) from test.t1; -->recvresult -->stmtsql drop table test.t1; -->recvresult -->stmtsql execute stmt; -->recvresult -->echo checking directly from IS tables -->stmtsql select * from performance_schema.session_variables where variable_name like 'max_join_size'; -->recvresult -->stmtsql select * from performance_schema.session_variables where variable_name like 'concurrent_insert'; -->recvresult -->stmtsql select * from performance_schema.session_variables where variable_name like 'default_storage_engine'; -->recvresult -->echo checking errors and warnings with duplicate table -->stmtsql SET SQL_WARNINGS=1; -->recvresult -->echo checking errors and warnings with duplicate table names -->stmtsql create table test.dup (a int); -->recvresult -->stmtsql create table test.dup (a int); -->expecterror 1050 -->recvresult -->stmtsql show count(*) errors; -->recvresult -->stmtsql show errors; -->recvresult -->stmtsql drop table test.dup; -->recvresult -->echo checking creating table with if not exists -->stmtsql flush status; -->recvresult -->stmtsql use test; -->recvresult -->stmtsql create table t1 (a int not null, b int, primary key (a)); -->expecterror 1050 -->recvresult -->stmtsql create table if not exists t1 select 2; -->recvresult -->stmtsql select * from t1; -->recvresult -->stmtsql create table if not exists t1 select 3 as 'a',4 as 'b'; -->recvresult -->stmtsql show status like "Opened_tables"; -->recvresult -->stmtsql select * from t1; -->recvresult -->stmtsql drop table t1; -->recvresult -->echo try droping mutliplt tables with if exists and check multiple warnings -->stmtsql use test; -->recvresult -->stmtsql drop tables if exists t1, t2; -->recvresult -->echo try checking may warnings -->stmtsql drop tables if exists t1, t2,t3,t4,t5,t6,t7,t8,t9,t10,t11,t12,t13,t14,t15,t16,t17,t18,t19,t20,t21,t22,t23,t24,t25,t26,t27,t28,t29,t30,a1, a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29,a30,aa1, aa2,aa3,aa4,aa5,aa6,aa7,aa8,aa9,aa10,aa11,aa12,aa13,aa14,aa15,aa16,aa17,aa18,aa19,aa20,aa21,aa22,aa23,aa24,aa25,aa26,aa27,aa28,aa29,aa30,aaaa1, aaaa2,aaaa3,aaaa4,aaaa5,aaaa6,aaaa7,aaaa8,aaaa9,aaaa10,aaaa11,aaaa12,aaaa13,aaaa14,aaaa15,aaaa16,aaaa17,aaaa18,aaaa19,aaaa20,aaaa21,aaaa22,aaaa23,aaaa24,aaaa25,aaaa26,aaaa27,aaaa28,aaaa29,aaaa30; -->recvresult -->echo try dropping same table with if exists and observe error/wrarnings Mysqlx.Sql.StmtExecute { stmt: "drop tables if exists t1,t1;" } -->expecterror 1066 -->recvresult Mysqlx.Sql.StmtExecute { stmt: "set max_error_count=65535;" } -->recvresult -->echo check more than 64 warnings returned Mysqlx.Sql.StmtExecute { stmt: "drop tables if exists t1, t2,t3,t4,t5,t6,t7,t8,t9,t10,t11,t12,t13,t14,t15,t16,t17,t18,t19,t20,t21,t22,t23,t24,t25,t26,t27,t28,t29,t30,a1, a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29,a30,aa1, aa2,aa3,aa4,aa5,aa6,aa7,aa8,aa9,aa10,aa11,aa12,aa13,aa14,aa15,aa16,aa17,aa18,aa19,aa20,aa21,aa22,aa23,aa24,aa25,aa26,aa27,aa28,aa29,aa30,aaaa1, aaaa2,aaaa3,aaaa4,aaaa5,aaaa6,aaaa7,aaaa8,aaaa9,aaaa10,aaaa11,aaaa12,aaaa13,aaaa14,aaaa15,aaaa16,aaaa17,aaaa18,aaaa19,aaaa20,aaaa21,aaaa22,aaaa23,aaaa24,aaaa25,aaaa26,aaaa27,aaaa28,aaaa29,aaaa30,bb1, bb2,bb3,bb4,bb5,bb6,bb7,bb8,bb9,bb10,bb11,bb12,bb13,bb14,bb15,bb16,bb17,bb18,bb19,bb20,bb21,bb22,bb23,bb24,bb25,bb26,bb27,bb28,bb29,bb30,b1, b2,b3,b4,b5,b6,b7,b8,b9,b10,b11,b12,b13,b14,b15,b16,b17,b18,b19,b20,b21,b22,b23,b24,b25,b26,b27,b28,b29,b30;" } -->recvresult -->echo check no warnings based on max_error_count parameter set Mysqlx.Sql.StmtExecute { stmt: "set max_error_count=0;" } -->recvresult Mysqlx.Sql.StmtExecute { stmt: "drop tables if exists t1,t2;" } -->recvresult Mysqlx.Sql.StmtExecute { stmt: "set max_error_count=-64;" } -->recvresult Mysqlx.Sql.StmtExecute { stmt: "show variables like 'max_error_count';" } -->recvresult Mysqlx.Sql.StmtExecute { stmt: "set max_error_count=64;" } -->recvresult -->echo checking creating temporary table when normal and temp table exists -->stmtsql use test; -->recvresult -->stmtsql create table if not exists t1 (a int) select 2 as a; -->recvresult -->stmtsql create temporary table t1 (a int) select 2 as a; -->recvresult -->stmtsql select * from t1; -->recvresult -->stmtsql create temporary table if not exists t1 (a int) select 2 as a; -->recvresult -->stmtsql select * from t1; -->recvresult -->stmtsql drop temporary table t1; -->recvresult -->stmtsql drop table t1; -->recvresult -->echo checking data truncation warnings for default values -->stmtsql use test; -->recvresult -->stmtsql CREATE TABLE t1 SELECT 0.123456789012345678901234567890123456 AS f1; -->recvresult -->stmtsql drop table t1; -->recvresult -->echo checking data truncation warnings while creating table with expression -->stmtsql use test; -->recvresult -->stmtsql create table t1 as select 5.05 / 0.014; -->recvresult -->stmtsql drop table t1; -->recvresult -->echo checking warnings with insert and select operations -->echo below insert into t1 returns 17775 warnings,checking only limited warnings as test takes more time to render the warnings -->stmtsql use test; -->recvresult -->stmtsql create table t2 (a char(1)); -->recvresult -->stmtsql insert into t2 values ('0'),('1'),('2'),('3'),('4'),('5'),('6'),('7'); -->recvresult -->stmtsql insert into t2 values ('8'),('9'),('A'),('B'),('C'),('D'),('E'),('F'); -->recvresult -->stmtsql create table t1 (a varchar(2) character set cp932) engine=myisam; -->recvresult -->echo checking for more than default 64 warnings Mysqlx.Sql.StmtExecute { stmt: "set max_error_count=500;" } -->recvresult -->stmtsql insert into t1 select unhex(concat(t24.a, t23.a, t22.a, t21.a)) from t2 t21, t2 t22, t2 t23, t2 t24; -->recvresult Mysqlx.Sql.StmtExecute { stmt: "set max_error_count=64;" } -->recvresult -->stmtsql drop tables t1,t2; -->recvresult -->echo checking warnigns with prepare and execute statmenets -->stmtsql use test; -->recvresult -->stmtsql CREATE TABLE t1(f1 VARCHAR(6) NOT NULL, FULLTEXT KEY(f1), UNIQUE(f1)); -->recvresult -->stmtsql INSERT INTO t1 VALUES ('test'); -->recvresult -->stmtsql SELECT 1 FROM t1 WHERE 1 > ALL((SELECT 1 FROM t1 JOIN t1 a ON (MATCH(t1.f1) against ("")) WHERE t1.f1 GROUP BY t1.f1)) xor f1; -->recvresult -->stmtsql PREPARE stmt FROM 'SELECT 1 FROM t1 WHERE 1 > ALL((SELECT 1 FROM t1 RIGHT OUTER JOIN t1 a ON (MATCH(t1.f1) against ("")) WHERE t1.f1 GROUP BY t1.f1)) xor f1'; -->recvresult -->stmtsql EXECUTE stmt; -->recvresult -->stmtsql EXECUTE stmt; -->recvresult -->stmtsql DEALLOCATE PREPARE stmt; -->recvresult -->stmtsql PREPARE stmt FROM 'SELECT 1 FROM t1 WHERE 1 > ALL((SELECT 1 FROM t1 JOIN t1 a ON (MATCH(t1.f1) against ("")) WHERE t1.f1 GROUP BY t1.f1))'; -->recvresult -->stmtsql EXECUTE stmt; -->recvresult -->stmtsql EXECUTE stmt; -->recvresult -->stmtsql DEALLOCATE PREPARE stmt; -->recvresult -->stmtsql drop table t1; -->recvresult -->echo checking warnings with group by when sql_mode is no_engine_substitution -->stmtsql use test; -->recvresult -->stmtsql SET sql_mode = 'NO_ENGINE_SUBSTITUTION'; -->recvresult -->stmtsql create table t1 (c1 char(3), c2 char(3)); -->recvresult -->stmtsql create table t2 (c3 char(3), c4 char(3)); -->recvresult -->stmtsql insert into t1 values ('aaa', 'bb1'), ('aaa', 'bb2'); -->recvresult -->stmtsql insert into t2 values ('aaa', 'bb1'), ('aaa', 'bb2'); -->recvresult -->stmtsql select t1.c1 as c2 from t1, t2 where t1.c2 = t2.c4 group by c2; -->recvresult -->stmtsql select t1.c1 as c2 from t1, t2 where t1.c2 = t2.c4 group by t1.c1; -->recvresult -->stmtsql drop table t1, t2; -->recvresult -->echo setting back to default of sql_mode -->stmtsql SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'; -->recvresult -->echo checking with group by where both error and warnings expected with default sql_mode -->stmtsql use test; -->recvresult -->stmtsql create table t1 (c1 char(3), c2 char(3)); -->recvresult -->stmtsql create table t2 (c3 char(3), c4 char(3)); -->recvresult -->stmtsql insert into t1 values ('aaa', 'bb1'), ('aaa', 'bb2'); -->recvresult -->stmtsql insert into t2 values ('aaa', 'bb1'), ('aaa', 'bb2'); -->recvresult -->stmtsql select t1.c1 as c2 from t1, t2 where t1.c2 = t2.c4 group by c2; -->expecterror 1055 -->recvresult -->echo expect both error and warning -->echo change result file once Bug#21524666 is fixed -->stmtsql select t1.c1 as c2 from t1, t2 where t1.c2 = t2.c4 group by t1.c1; -->recvresult -->stmtsql drop table t1, t2; -->recvresult -->echo checking warnings with rollback on non-transactional tables -->stmtsql use test; -->recvresult -->stmtsql create table t1 (n int not null primary key) engine=myisam; -->recvresult -->stmtsql begin work; -->recvresult -->stmtsql insert into t1 values (4); -->recvresult -->stmtsql insert into t1 values (5); -->recvresult -->stmtsql rollback; -->recvresult -->stmtsql show warnings; -->recvresult -->stmtsql show errors; -->recvresult -->stmtsql select @@warning_count,@@error_count; -->recvresult -->stmtsql select * from t1; -->recvresult -->stmtsql show warnings; -->recvresult -->stmtsql select @@warning_count; -->recvresult -->stmtsql drop table t1; -->recvresult -->echo expect 2 warnings for insert related to truncation and incorrect date value -->sql use test; set sql_mode=''; create table t1 ( a date not null, b mediumtext generated always as ((a not in (a,a))) virtual, c timestamp generated always as ((a not in (b,b))) stored not null ); -->endsql -->stmtsql insert t1(a) values(7777777777); -->recvresult -->sql drop table t1; SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'; -->endsql -->echo checking warnings while creating index which is more than row size -->sql use test; create table worklog5743_1(a1 int, a2 TEXT not null) KEY_BLOCK_SIZE=1; create table worklog5743_2(a1 int, a2 TEXT not null) KEY_BLOCK_SIZE=2; create table worklog5743_4(a1 int, a2 TEXT not null) KEY_BLOCK_SIZE=4; create table worklog5743_8(a1 int, a2 TEXT, a3 TEXT) KEY_BLOCK_SIZE=8; -->endsql -->echo below statement throws warning as Error and actual error is missing -->echo change result file once Bug#21529270 fixed -->stmtsql create index idx1 on worklog5743_1(a2(4000)); -->expecterror 1071 -->recvresult -->sql ##setting back to original value drop table worklog5743_1; drop table worklog5743_2; drop table worklog5743_4; drop table worklog5743_8; -->endsql -->echo checking warnings with different innodb file format -->sql use test; -->endsql -->stmtsql set innodb_strict_mode = off; -->recvresult -->stmtsql set global innodb_file_per_table = 0; -->recvresult -->stmtsql create temporary table t (i int) engine = innodb row_format = compressed; -->recvresult -->sql ##setting back to original value drop table t; set innodb_strict_mode = on; set @@global.innodb_file_per_table = 1; -->endsql -->echo checking warnings with different innodb row format -->sql use test; -->endsql -->echo expect one Error and Warning -->echo modify the result file once Bug#21524666 is fixed -->stmtsql create table t2 (id int primary key) engine = innodb key_block_size = 9; -->expecterror 1031 -->recvresult -->echo expect 2 warnings and 1 Error -->echo modify the result file once Bug#21524666 is fixed -->stmtsql create table t2 (id int primary key) engine = innodb key_block_size = 9 row_format = redundant; -->expecterror 1031 -->recvresult -->echo expect 1 warning and 2 Error -->echo modify the result file once Bug#21524666 is fixed -->stmtsql create table bug46000(`id` int, key `GEN_clust_INDEX`(`id`))engine=innodb; -->expecterror 1280 -->recvresult ## Try to disable fixed notice, should produce an error -->stmtadmin disable_notices {"notice":"account_expired"} -->expecterror 5164 -->recvresult EOF --let $xtest_warnings= $MYSQL_TMP_DIR/stmtexecute_proc_warnings_mysqlx.tmp --write_file $xtest_warnings -->quiet -->stmtadmin disable_notices {"notice":"warnings"} -->recvresult -->echo checking warnings with procedure execution -->sql SET @start_global_value = @@global.max_error_count; SELECT @start_global_value; SET @start_session_value = @@session.max_error_count; SELECT @start_session_value; drop database if exists demo; create database demo; use demo; delimiter // create procedure proc_1() begin declare exit handler for sqlexception resignal sqlstate '45000' set message_text='Oops in proc_1'; call proc_2(); end// delimiter // create procedure proc_2() begin declare exit handler for sqlexception resignal sqlstate '45000' set message_text='Oops in proc_2'; call proc_3(); end// delimiter // create procedure proc_3() begin declare exit handler for sqlexception resignal sqlstate '45000' set message_text='Oops in proc_3'; call proc_4(); end// delimiter // create procedure proc_4() begin declare exit handler for sqlexception resignal sqlstate '45000' set message_text='Oops in proc_4'; call proc_5(); end// delimiter // create procedure proc_5() begin declare exit handler for sqlexception resignal sqlstate '45000' set message_text='Oops in proc_5'; call proc_6(); end// delimiter // create procedure proc_6() begin declare exit handler for sqlexception resignal sqlstate '45000' set message_text='Oops in proc_6'; call proc_7(); end// delimiter // create procedure proc_7() begin declare exit handler for sqlexception resignal sqlstate '45000' set message_text='Oops in proc_7'; call proc_8(); end// delimiter // create procedure proc_8() begin declare exit handler for sqlexception resignal sqlstate '45000' set message_text='Oops in proc_8'; call proc_9(); end// delimiter // create procedure proc_9() begin declare exit handler for sqlexception resignal sqlstate '45000' set message_text='Oops in proc_9'; ## Do something that fails, to see how errors are reported drop table oops_it_is_not_here; end// -->endsql -->stmtsql call proc_1(); -->expecterror 1644 -->recvresult -->sql SET @@session.max_error_count = 5; SELECT @@session.max_error_count; -->endsql -->stmtsql call proc_1(); -->expecterror 1644 -->recvresult -->sql SET @@session.max_error_count = 7; SELECT @@session.max_error_count; -->endsql -->stmtsql call proc_1(); -->expecterror 1644 -->recvresult -->sql SET @@session.max_error_count = 9; SELECT @@session.max_error_count; -->endsql -->stmtsql call proc_1(); -->expecterror 1644 -->recvresult -->sql drop database demo; SET @@global.max_error_count = @start_global_value; SELECT @@global.max_error_count; SET @@session.max_error_count = @start_session_value; SELECT @@session.max_error_count; -->endsql -->echo checking warnings while creating index with more than row size -->sql use test; create table worklog5743_1(a1 int, a2 TEXT not null) KEY_BLOCK_SIZE=1; create table worklog5743_2(a1 int, a2 TEXT not null) KEY_BLOCK_SIZE=2; create table worklog5743_4(a1 int, a2 TEXT not null) KEY_BLOCK_SIZE=4; create table worklog5743_8(a1 int, a2 TEXT, a3 TEXT) KEY_BLOCK_SIZE=8; -->endsql -->echo below statement throwing warning as an Error and actual error is missing -->echo Change result file once Bug#21529270 fixed -->stmtsql create index idx1 on worklog5743_1(a2(4000)); -->expecterror 1071 -->recvresult -->sql ##setting back to original value drop table worklog5743_1; drop table worklog5743_2; drop table worklog5743_4; drop table worklog5743_8; -->endsql EOF --let $xtest_readonly = $MYSQL_TMP_DIR/disable_notices_readonly.tmp --write_file $xtest_readonly -->quiet -->echo Try Disable warnings -->stmtadmin disable_notices {"notice":"warnings"} -->recvresult -->echo Try Disable account_expired -->stmtadmin disable_notices {"notice":"account_expired"} -->expecterror 5164 -->recvresult -->echo Try Disable generated_insert_id -->stmtadmin disable_notices {"notice":"generated_insert_id"} -->expecterror 5164 -->recvresult -->echo Try Disable rows_affected -->stmtadmin disable_notices {"notice":"rows_affected"} -->expecterror 5164 -->recvresult -->echo Try Disable produced_message -->stmtadmin disable_notices {"notice":"produced_message"} -->expecterror 5164 -->recvresult -->echo expect Mysqlx_stmt_disable_notices=5 and remaining are 0 -->sql show status like 'Mysqlx%notice%'; -->endsql EOF --let $xtest_notices= $MYSQL_TMP_DIR/disable_multiple_notices_mysqlx.tmp --write_file $xtest_notices -->quiet -->echo Disable multiple notices both read-only and read-write with single StmtExecute,expect error from the first error is sees -->echo expect error from account_expired onwards as it is read-only though warnings returns success as it is rea-write -->stmtadmin disable_notices {"notice":["warnings","account_expired","generated_insert_id","rows_affected","produced_message"]} -->expecterror 5164 -->recvresult -->stmtadmin list_notices -->recvresult -->echo expect error as disabling account_expired returns error as expected since it is read-ony -->stmtadmin disable_notices {"notice":["account_expired","warnings","generated_insert_id","rows_affected","produced_message"]} -->expecterror 5164 -->recvresult -->stmtadmin list_notices -->recvresult EOF --let $xtest_disable= $MYSQL_TMP_DIR/stats_disablenoti_mysqlx.tmp --write_file $xtest_disable -->quiet -->echo Disable warnings notice and observe stats -->stmtadmin disable_notices {"notice":"warnings"} -->recvresult -->echo expect Mysqlx_notice_other_sent=0,Mysqlx_stmt_disable_notices=1 with xconnection -->sql show status like 'Mysqlx%notice%'; -->endsql -->echo Disable account_expired notice and observe stats -->stmtadmin disable_notices {"notice":"account_expired"} -->expecterror 5164 -->recvresult -->echo expect Mysqlx_notice_other_sent=0,Mysqlx_stmt_disable_notices=2 with xconnection -->sql show status like 'Mysqlx%notice%'; -->endsql EOF --exec $MYSQLXTEST -uroot --password='' --file=$xtest_result 2>&1 ###expect notice %s cannot be disabled related error,change result file once it is fixed --exec $MYSQLXTEST -uroot --password='' --file=$xtest_readonly 2>&1 ###expect notice %s cannot be disabled related error ,change result file once it is fixed with normal user create user xplugin@localhost identified by 'xplugin'; --exec $MYSQLXTEST -uxplugin --password='xplugin' --file=$xtest_readonly 2>&1 ##change result file once Bug#21611216 is fixed --exec $MYSQLXTEST -uroot --password='' --file=$xtest_warnings 2>&1 ## Disable multiple notices both read-only and read-write with single StmtExecute,expect error from the first error is sees --exec $MYSQLXTEST -uroot --password='' --file=$xtest_notices 2>&1 ##verify Mysqlx_notice_other_sent,Mysqlx_stmt_disable_notices with show_compatibility_56=ON let $restart_parameters = restart: --show_compatibility_56=ON; --source ../include/restart_mysqld_and_wait_for_xplugin.inc ##expect Mysqlx_notice_other_sent=0,Mysqlx_stmt_disable_notices=2 with both native and xconnection ##change result file once Bug#21781263 is fixed --exec $MYSQLXTEST -uroot --password='' --file=$xtest_disable 2>&1 show status like 'Mysqlx%notice%'; --remove_file $xtest_result --remove_file $xtest_readonly --remove_file $xtest_warnings --remove_file $xtest_notices --remove_file $xtest_disable ## Postamble drop user xplugin@localhost; uninstall plugin mysqlx;
Close