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.221.248.199
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 /
r /
[ HOME SHELL ]
Name
Size
Permission
Action
admin_bogus.result
703
B
-rw-r--r--
admin_bogus_mysqlx.result
523
B
-rw-r--r--
admin_create_collection.result
3.53
KB
-rw-r--r--
admin_create_collection_mysqlx...
1.97
KB
-rw-r--r--
admin_create_index_datetime.re...
4.96
KB
-rw-r--r--
admin_create_index_datetime_my...
1.27
KB
-rw-r--r--
admin_create_index_string.resu...
12.64
KB
-rw-r--r--
admin_create_index_string_mysq...
2.28
KB
-rw-r--r--
admin_ensure_collection.result
3.49
KB
-rw-r--r--
admin_ensure_collection_mysqlx...
3.46
KB
-rw-r--r--
admin_kill.result
3.07
KB
-rw-r--r--
admin_kill_client_mysqlx.resul...
1.61
KB
-rw-r--r--
admin_list_objects.result
3.07
KB
-rw-r--r--
admin_list_objects_case_insens...
1.38
KB
-rw-r--r--
admin_list_objects_case_insens...
1.42
KB
-rw-r--r--
admin_list_objects_case_sensit...
1.25
KB
-rw-r--r--
admin_list_objects_case_sensit...
1.38
KB
-rw-r--r--
admin_list_objects_mysqlx.resu...
2
KB
-rw-r--r--
admin_ping.result
533
B
-rw-r--r--
admin_ping_mysqlx.result
1.21
KB
-rw-r--r--
admin_xkill.result
50.58
KB
-rw-r--r--
binary_log.result
1.07
KB
-rw-r--r--
bug_23028052.result
2.75
KB
-rw-r--r--
capabilities.result
21.04
KB
-rw-r--r--
client_close.result
32.63
KB
-rw-r--r--
client_close_abort.result
1.95
KB
-rw-r--r--
client_session.result
1.26
KB
-rw-r--r--
connection.result
39.97
KB
-rw-r--r--
connection_default_schema.resu...
2.2
KB
-rw-r--r--
connection_expire.result
6.42
KB
-rw-r--r--
connection_expired_certs.resul...
433
B
-rw-r--r--
connection_ipv6.result
4.22
KB
-rw-r--r--
connection_nonssl.result
3.69
KB
-rw-r--r--
connection_openssl.result
18.51
KB
-rw-r--r--
connection_require_secure_tran...
1.99
KB
-rw-r--r--
connection_reset_by_peer.resul...
818
B
-rw-r--r--
connection_skip_grant_table.re...
2.25
KB
-rw-r--r--
connection_skip_networking.res...
1.36
KB
-rw-r--r--
connection_skip_networking_win...
679
B
-rw-r--r--
connection_timeout.result
2.04
KB
-rw-r--r--
connection_tls_version.result
4.75
KB
-rw-r--r--
connection_unixsocket.result
7.49
KB
-rw-r--r--
connection_unixsocket_invalid....
2.57
KB
-rw-r--r--
connection_unixsocket_lock.res...
1.24
KB
-rw-r--r--
connection_unixsocket_rpl.resu...
9.81
KB
-rw-r--r--
connection_user_authentication...
3.91
KB
-rw-r--r--
connection_user_authentication...
3.22
KB
-rw-r--r--
connection_without_session.res...
373
B
-rw-r--r--
create_alter_sql.result
9.96
KB
-rw-r--r--
create_drop_collection_crud.re...
12.87
KB
-rw-r--r--
create_index_crud.result
62.48
KB
-rw-r--r--
crud_asterisk.result
1.88
KB
-rw-r--r--
crud_create_view.result
6.29
KB
-rw-r--r--
crud_debug.result
675
B
-rw-r--r--
crud_delete_args.result
1.12
KB
-rw-r--r--
crud_doc_criteria_args.result
26.62
KB
-rw-r--r--
crud_doc_expr_array.result
23.27
KB
-rw-r--r--
crud_doc_expr_object.result
8.33
KB
-rw-r--r--
crud_drop_view.result
1.32
KB
-rw-r--r--
crud_find_args.result
1.46
KB
-rw-r--r--
crud_find_doc_criteria.result
2.51
KB
-rw-r--r--
crud_find_doc_groupby.result
1.72
KB
-rw-r--r--
crud_find_groupby.result
1.43
KB
-rw-r--r--
crud_insert_args.result
779
B
-rw-r--r--
crud_insert_cast.result
11.9
KB
-rw-r--r--
crud_insert_default.result
3.51
KB
-rw-r--r--
crud_insert_expr.result
3.52
KB
-rw-r--r--
crud_insert_nodoc.result
610
B
-rw-r--r--
crud_modify_view.result
4.66
KB
-rw-r--r--
crud_myisam_memory.result
11.19
KB
-rw-r--r--
crud_octets_content_type.resul...
3.37
KB
-rw-r--r--
crud_order_by.result
2.19
KB
-rw-r--r--
crud_pipe.result
2.56
KB
-rw-r--r--
crud_resultset_metadata.result
990
B
-rw-r--r--
crud_rpl.result
9.24
KB
-rw-r--r--
crud_sundries.result
29.98
KB
-rw-r--r--
crud_table_criteria_args.resul...
20.3
KB
-rw-r--r--
crud_table_expr_array.result
23.29
KB
-rw-r--r--
crud_table_expr_object.result
7.4
KB
-rw-r--r--
crud_update_args.result
1.57
KB
-rw-r--r--
crud_update_table_json.result
9.3
KB
-rw-r--r--
crud_view_sundries.result
3.63
KB
-rw-r--r--
delete_crud_1.result
7.12
KB
-rw-r--r--
delete_crud_o.result
27.17
KB
-rw-r--r--
delete_del_all.result
1.68
KB
-rw-r--r--
delete_del_bad_collection.resu...
2.3
KB
-rw-r--r--
delete_del_bad_expr.result
2.07
KB
-rw-r--r--
delete_del_missing_arg.result
2.1
KB
-rw-r--r--
delete_del_multi_by_expr.resul...
2.06
KB
-rw-r--r--
delete_del_multi_by_id.result
1.89
KB
-rw-r--r--
delete_del_none_by_expr.result
2.07
KB
-rw-r--r--
delete_del_none_table.result
2.61
KB
-rw-r--r--
delete_del_one_by_expr.result
2.57
KB
-rw-r--r--
delete_del_table.result
2
KB
-rw-r--r--
delete_del_table_doc.result
3.23
KB
-rw-r--r--
delete_del_table_order.result
2.99
KB
-rw-r--r--
delete_sql_o.result
10.03
KB
-rw-r--r--
drop_index_crud.result
121.28
KB
-rw-r--r--
expect_noerror.result
6.95
KB
-rw-r--r--
fieldtypes_all.result
9.62
KB
-rw-r--r--
find_crud_conditionalclauses_o...
28.66
KB
-rw-r--r--
find_crud_groupby_o.result
16.74
KB
-rw-r--r--
find_doc_proj.result
10.47
KB
-rw-r--r--
find_doc_simple.result
6.66
KB
-rw-r--r--
find_docpath_expr.result
6.58
KB
-rw-r--r--
find_funtion_call.result
35.96
KB
-rw-r--r--
find_table_find.result
7.24
KB
-rw-r--r--
find_table_find_as_doc.result
5.46
KB
-rw-r--r--
find_table_find_rows_proj.resu...
6.6
KB
-rw-r--r--
forbidden_sql_cmd.result
1.9
KB
-rw-r--r--
input_queue.result
5.98
KB
-rw-r--r--
insert_crud_1.result
15.99
KB
-rw-r--r--
insert_crud_o.result
26.83
KB
-rw-r--r--
insert_doc_bad_proj.result
1.93
KB
-rw-r--r--
insert_doc_id.result
1.79
KB
-rw-r--r--
insert_doc_id_dup.result
2.82
KB
-rw-r--r--
insert_doc_noid.result
1.88
KB
-rw-r--r--
insert_sql_o.result
5.78
KB
-rw-r--r--
insert_table.result
8.56
KB
-rw-r--r--
insert_table_bad_column.result
2.41
KB
-rw-r--r--
insert_table_bad_column_type.r...
5.51
KB
-rw-r--r--
insert_table_bad_numcolumns.re...
5.98
KB
-rw-r--r--
insert_table_escape_identifier...
1.2
KB
-rw-r--r--
insert_table_missing_notnull_c...
1.28
KB
-rw-r--r--
insert_table_string_quoting.re...
1.33
KB
-rw-r--r--
installxplugin.result
12.81
KB
-rw-r--r--
killconnection.result
2.97
KB
-rw-r--r--
message_empty_payload.result
767
B
-rw-r--r--
message_protobuf_nested.result
839
B
-rw-r--r--
multiple_resultsets_and_out_pa...
7.4
KB
-rw-r--r--
mysql_session_user.result
3.22
KB
-rw-r--r--
mysqlx_server_var.result
8.7
KB
-rw-r--r--
mysqlxtest_help.result
8.06
KB
-rw-r--r--
notice_warning.result
6.78
KB
-rw-r--r--
notice_warning_mysqlx.result
1.12
KB
-rw-r--r--
notices_disable.result
71.66
KB
-rw-r--r--
notices_disable_mysqlx.result
11.56
KB
-rw-r--r--
notices_enable.result
216.67
KB
-rw-r--r--
notices_enable_mysqlx.result
63.76
KB
-rw-r--r--
performance_schema.result
16.42
KB
-rw-r--r--
performance_schema_memory.resu...
3.71
KB
-rw-r--r--
performance_schema_sockets.res...
16.04
KB
-rw-r--r--
performance_schema_threads.res...
3.92
KB
-rw-r--r--
performance_schema_unixsockets...
16.12
KB
-rw-r--r--
plugin_license.result
420
B
-rw-r--r--
regression.result
8.69
KB
-rw-r--r--
result_types.result
3.28
KB
-rw-r--r--
session_reset.result
1.8
KB
-rw-r--r--
status_bytes_received.result
326
B
-rw-r--r--
status_variable_errors_unknown...
1.93
KB
-rw-r--r--
status_variable_notices.result
765
B
-rw-r--r--
status_variables.result
6.32
KB
-rw-r--r--
status_variables_incrementing....
3.42
KB
-rw-r--r--
stmtexecute_query_no_result.re...
1.06
KB
-rw-r--r--
stmtexecute_query_result.resul...
1.99
KB
-rw-r--r--
stmtexecute_status_vars.result
20.87
KB
-rw-r--r--
stmtexecute_with_args.result
7.85
KB
-rw-r--r--
system_variable_bind_address.r...
1.74
KB
-rw-r--r--
system_variable_max_allowed_pa...
1.14
KB
-rw-r--r--
system_variable_min_worker_thr...
4.9
KB
-rw-r--r--
system_variable_port_open_time...
3.34
KB
-rw-r--r--
system_variables.result
1.46
KB
-rw-r--r--
update_crud_arrayappend_o.resu...
28.66
KB
-rw-r--r--
update_crud_arrayinsert_o.resu...
38.06
KB
-rw-r--r--
update_crud_itemmerge_o.result
31.89
KB
-rw-r--r--
update_crud_o.result
37.48
KB
-rw-r--r--
update_crud_remove_o.result
16.89
KB
-rw-r--r--
update_crud_replace_o.result
25.88
KB
-rw-r--r--
update_doc.result
30.18
KB
-rw-r--r--
update_sql_o.result
5.42
KB
-rw-r--r--
update_table.result
4.13
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : notices_disable.result
install plugin mysqlx soname "mysqlx.so"; call mtr.add_suppression("Plugin mysqlx reported: .Failed at SSL configuration: .SSL context is not usable without certificate and private key.."); call mtr.add_suppression("Plugin mysqlx reported: .SSL_CTX_load_verify_locations failed."); send Mysqlx.Sql.StmtExecute { stmt: "disable_notices" args { type: SCALAR scalar { type: V_STRING v_string { value: "warnings" } } } namespace: "xplugin" } command ok Namespace 'xplugin' is deprecated, please use 'mysqlx' instead check with password function which is deprecated send Mysqlx.Sql.StmtExecute { stmt: "select 1/0,1/0,password(\'test\'),password(\'\')" } Mysqlx.Resultset.ColumnMetaData { type: DECIMAL name: "1/0" original_name: "" table: "" original_table: "" schema: "" catalog: "def" collation: 0 fractional_digits: 4 length: 7 flags: 0 } Mysqlx.Resultset.ColumnMetaData { type: DECIMAL name: "1/0" original_name: "" table: "" original_table: "" schema: "" catalog: "def" collation: 0 fractional_digits: 4 length: 7 flags: 0 } Mysqlx.Resultset.ColumnMetaData { type: BYTES name: "password(\'test\')" original_name: "" table: "" original_table: "" schema: "" catalog: "def" collation: 45 fractional_digits: 31 length: 164 flags: 0 } Mysqlx.Resultset.ColumnMetaData { type: BYTES name: "password(\'\')" original_name: "" table: "" original_table: "" schema: "" catalog: "def" collation: 45 fractional_digits: 31 length: 0 flags: 0 } Mysqlx.Resultset.Row { field: "" field: "" field: "*94BDCEBE19083CE2A1F959FD02F964C7AF4CFC29\000" field: "\000" } Mysqlx.Resultset.FetchDone { } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } check with dropping db which doesn't exists send Mysqlx.Sql.StmtExecute { stmt: "drop database if exists mysqltest;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } check with dropping table which doesn't exists send Mysqlx.Sql.StmtExecute { stmt: "drop table if exists test.mysqltest;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } check with dropping procedure which doesn't exists send Mysqlx.Sql.StmtExecute { stmt: "drop procedure if exists test.test_invalid;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } check with dropping function which doesn't exists send Mysqlx.Sql.StmtExecute { stmt: "drop function if exists test.test_signal_func;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } check with dropping view which doesn't exists send Mysqlx.Sql.StmtExecute { stmt: "drop view if exists test.v1;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } out of range values for INT,UNSIGN INT send Mysqlx.Sql.StmtExecute { stmt: "create table test.t1 (c1 INT, c2 INT UNSIGNED);" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "insert ignore into test.t1 values (\'21474836461\',\'21474836461\');" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 1\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "insert ignore into test.t1 values (\'-21474836461\',\'-21474836461\');" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 1\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "drop table test.t1;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } checking double data type send Mysqlx.Sql.StmtExecute { stmt: "create table test.t1 (grp int, a bigint unsigned, c char(10) not null, d char(10) not null);" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "insert into test.t1 values (1,1,\"a\",\"a\");" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 1\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "insert into test.t1 values (2,2,\"b\",\"a\");" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 1\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "insert into test.t1 values (2,3,\"c\",\"b\");" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 1\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "insert into test.t1 values (3,4,\"E\",\"a\");" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 1\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "insert into test.t1 values (3,5,\"C\",\"b\");" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 1\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "insert into test.t1 values (3,6,\"D\",\"b\");" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 1\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "insert into test.t1 values (3,7,\"d\",\"d\");" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 1\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "insert into test.t1 values (3,8,\"d\",\"d\");" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 1\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "insert into test.t1 values (3,9,\"D\",\"c\");" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 1\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "select grp,group_concat(a order by a,d+c-ascii(c)-a) from test.t1 group by grp;" } Mysqlx.Resultset.ColumnMetaData { type: SINT name: "grp" original_name: "grp" table: "t1" original_table: "t1" schema: "test" catalog: "def" collation: 0 fractional_digits: 0 length: 11 flags: 0 } Mysqlx.Resultset.ColumnMetaData { type: BYTES name: "group_concat(a order by a,d+c-ascii(c)-a)" original_name: "" table: "" original_table: "" schema: "" catalog: "def" collation: 45 fractional_digits: 0 length: 1024 flags: 0 } Mysqlx.Resultset.Row { field: "\002" field: "1\000" } Mysqlx.Resultset.Row { field: "\004" field: "2,3\000" } Mysqlx.Resultset.Row { field: "\006" field: "4,5,6,7,8,9\000" } Mysqlx.Resultset.FetchDone { } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "select grp,group_concat(a order by d+c-ascii(c),a) from test.t1 group by grp;" } Mysqlx.Resultset.ColumnMetaData { type: SINT name: "grp" original_name: "grp" table: "t1" original_table: "t1" schema: "test" catalog: "def" collation: 0 fractional_digits: 0 length: 11 flags: 0 } Mysqlx.Resultset.ColumnMetaData { type: BYTES name: "group_concat(a order by d+c-ascii(c),a)" original_name: "" table: "" original_table: "" schema: "" catalog: "def" collation: 45 fractional_digits: 0 length: 1024 flags: 0 } Mysqlx.Resultset.Row { field: "\002" field: "1\000" } Mysqlx.Resultset.Row { field: "\004" field: "3,2\000" } Mysqlx.Resultset.Row { field: "\006" field: "7,8,4,6,9,5\000" } Mysqlx.Resultset.FetchDone { } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "set group_concat_max_len = 4;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "select grp,group_concat(c order by c) from test.t1 group by grp;" } Mysqlx.Resultset.ColumnMetaData { type: SINT name: "grp" original_name: "grp" table: "t1" original_table: "t1" schema: "test" catalog: "def" collation: 0 fractional_digits: 0 length: 11 flags: 0 } Mysqlx.Resultset.ColumnMetaData { type: BYTES name: "group_concat(c order by c)" original_name: "" table: "" original_table: "" schema: "" catalog: "def" collation: 8 fractional_digits: 0 length: 4 flags: 0 } Mysqlx.Resultset.Row { field: "\002" field: "a\000" } Mysqlx.Resultset.Row { field: "\004" field: "b,c\000" } Mysqlx.Resultset.Row { field: "\006" field: "C,D,\000" } Mysqlx.Resultset.FetchDone { } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "drop table test.t1;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } checking character data type Error is returned instead of warning for insert operation with xplugin send Mysqlx.Sql.StmtExecute { stmt: "SET sql_mode = \'NO_ENGINE_SUBSTITUTION\';" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "prepare stmt from \'create table test.t1 (a varchar(10) character set utf8)\';" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: PRODUCED_MESSAGE\nvalue {\n type: V_STRING\n v_string {\n value: \"Statement prepared\"\n }\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "execute stmt;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "insert into test.t1 (a) values (repeat(\'a\', 20));" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 1\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "select length(a) from test.t1;" } Mysqlx.Resultset.ColumnMetaData { type: SINT name: "length(a)" original_name: "" table: "" original_table: "" schema: "" catalog: "def" collation: 0 fractional_digits: 0 length: 10 flags: 0 } Mysqlx.Resultset.Row { field: "\024" } Mysqlx.Resultset.FetchDone { } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "drop table test.t1;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "execute stmt;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } checking directly from IS tables send Mysqlx.Sql.StmtExecute { stmt: "select * from performance_schema.session_variables where variable_name like \'max_join_size\';" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "select * from performance_schema.session_variables where variable_name like \'concurrent_insert\';" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "select * from performance_schema.session_variables where variable_name like \'default_storage_engine\';" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } checking errors and warnings with duplicate table send Mysqlx.Sql.StmtExecute { stmt: "SET SQL_WARNINGS=1;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } checking errors and warnings with duplicate table names send Mysqlx.Sql.StmtExecute { stmt: "create table test.dup (a int);" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "create table test.dup (a int);" } Mysqlx.Error { severity: ERROR code: 1050 msg: "Table \'dup\' already exists" sql_state: "42S01" } send Mysqlx.Sql.StmtExecute { stmt: "show count(*) errors;" } Mysqlx.Resultset.ColumnMetaData { type: UINT name: "@@session.error_count" original_name: "" table: "" original_table: "" schema: "" catalog: "def" collation: 0 fractional_digits: 0 length: 21 flags: 0 } Mysqlx.Resultset.Row { field: "\001" } Mysqlx.Resultset.FetchDone { } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "show errors;" } Mysqlx.Resultset.ColumnMetaData { type: BYTES name: "Level" original_name: "" table: "" original_table: "" schema: "" catalog: "def" collation: 33 fractional_digits: 31 length: 21 flags: 16 } Mysqlx.Resultset.ColumnMetaData { type: UINT name: "Code" original_name: "" table: "" original_table: "" schema: "" catalog: "def" collation: 0 fractional_digits: 0 length: 4 flags: 16 } Mysqlx.Resultset.ColumnMetaData { type: BYTES name: "Message" original_name: "" table: "" original_table: "" schema: "" catalog: "def" collation: 33 fractional_digits: 31 length: 1536 flags: 16 } Mysqlx.Resultset.Row { field: "Error\000" field: "\232\010" field: "Table \'dup\' already exists\000" } Mysqlx.Resultset.FetchDone { } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "drop table test.dup;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } checking creating table with if not exists send Mysqlx.Sql.StmtExecute { stmt: "flush status;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "use test;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "create table t1 (a int not null, b int, primary key (a));" } Mysqlx.Error { severity: ERROR code: 1050 msg: "Table \'t1\' already exists" sql_state: "42S01" } send Mysqlx.Sql.StmtExecute { stmt: "create table if not exists t1 select 2;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "select * from t1;" } Mysqlx.Resultset.ColumnMetaData { type: BYTES name: "a" original_name: "a" table: "t1" original_table: "t1" schema: "test" catalog: "def" collation: 33 fractional_digits: 0 length: 30 flags: 0 } Mysqlx.Resultset.FetchDone { } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "create table if not exists t1 select 3 as \'a\',4 as \'b\';" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "show status like \"Opened_tables\";" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "select * from t1;" } Mysqlx.Resultset.ColumnMetaData { type: BYTES name: "a" original_name: "a" table: "t1" original_table: "t1" schema: "test" catalog: "def" collation: 33 fractional_digits: 0 length: 30 flags: 0 } Mysqlx.Resultset.FetchDone { } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "drop table t1;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } try droping mutliplt tables with if exists and check multiple warnings send Mysqlx.Sql.StmtExecute { stmt: "use test;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "drop tables if exists t1, t2;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } try checking may warnings send 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;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } try dropping same table with if exists and observe error/wrarnings send Mysqlx.Sql.StmtExecute { stmt: "drop tables if exists t1,t1;" } Mysqlx.Error { severity: ERROR code: 1066 msg: "Not unique table/alias: \'t1\'" sql_state: "42000" } send Mysqlx.Sql.StmtExecute { stmt: "set max_error_count=65535;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } check more than 64 warnings returned send 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;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } check no warnings based on max_error_count parameter set send Mysqlx.Sql.StmtExecute { stmt: "set max_error_count=0;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "drop tables if exists t1,t2;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "set max_error_count=-64;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "show variables like \'max_error_count\';" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "set max_error_count=64;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } checking creating temporary table when normal and temp table exists send Mysqlx.Sql.StmtExecute { stmt: "use test;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "create table if not exists t1 (a int) select 2 as a;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 1\n}\n }" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: PRODUCED_MESSAGE\nvalue {\n type: V_STRING\n v_string {\n value: \"Records: 1 Duplicates: 0 Warnings: 0\"\n }\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "create temporary table t1 (a int) select 2 as a;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 1\n}\n }" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: PRODUCED_MESSAGE\nvalue {\n type: V_STRING\n v_string {\n value: \"Records: 1 Duplicates: 0 Warnings: 0\"\n }\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "select * from t1;" } Mysqlx.Resultset.ColumnMetaData { type: SINT name: "a" original_name: "a" table: "t1" original_table: "t1" schema: "test" catalog: "def" collation: 0 fractional_digits: 0 length: 11 flags: 0 } Mysqlx.Resultset.Row { field: "\004" } Mysqlx.Resultset.FetchDone { } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "create temporary table if not exists t1 (a int) select 2 as a;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "select * from t1;" } Mysqlx.Resultset.ColumnMetaData { type: SINT name: "a" original_name: "a" table: "t1" original_table: "t1" schema: "test" catalog: "def" collation: 0 fractional_digits: 0 length: 11 flags: 0 } Mysqlx.Resultset.Row { field: "\004" } Mysqlx.Resultset.FetchDone { } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "drop temporary table t1;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "drop table t1;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } checking data truncation warnings for default values send Mysqlx.Sql.StmtExecute { stmt: "use test;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "CREATE TABLE t1 SELECT 0.123456789012345678901234567890123456 AS f1;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 1\n}\n }" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: PRODUCED_MESSAGE\nvalue {\n type: V_STRING\n v_string {\n value: \"Records: 1 Duplicates: 0 Warnings: 1\"\n }\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "drop table t1;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } checking data truncation warnings while creating table with expression send Mysqlx.Sql.StmtExecute { stmt: "use test;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "create table t1 as select 5.05 / 0.014;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 1\n}\n }" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: PRODUCED_MESSAGE\nvalue {\n type: V_STRING\n v_string {\n value: \"Records: 1 Duplicates: 0 Warnings: 1\"\n }\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "drop table t1;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } checking warnings with insert and select operations below insert into t1 returns 17775 warnings,checking only limited warnings as test takes more time to render the warnings send Mysqlx.Sql.StmtExecute { stmt: "use test;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "create table t2 (a char(1));" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "insert into t2 values (\'0\'),(\'1\'),(\'2\'),(\'3\'),(\'4\'),(\'5\'),(\'6\'),(\'7\');" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 8\n}\n }" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: PRODUCED_MESSAGE\nvalue {\n type: V_STRING\n v_string {\n value: \"Records: 8 Duplicates: 0 Warnings: 0\"\n }\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "insert into t2 values (\'8\'),(\'9\'),(\'A\'),(\'B\'),(\'C\'),(\'D\'),(\'E\'),(\'F\');" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 8\n}\n }" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: PRODUCED_MESSAGE\nvalue {\n type: V_STRING\n v_string {\n value: \"Records: 8 Duplicates: 0 Warnings: 0\"\n }\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "create table t1 (a varchar(2) character set cp932) engine=myisam;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } checking for more than default 64 warnings send Mysqlx.Sql.StmtExecute { stmt: "set max_error_count=500;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "insert into t1 select unhex(concat(t24.a, t23.a, t22.a, t21.a)) from t2 t21, t2 t22, t2 t23, t2 t24;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 65536\n}\n }" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: PRODUCED_MESSAGE\nvalue {\n type: V_STRING\n v_string {\n value: \"Records: 65536 Duplicates: 0 Warnings: 17775\"\n }\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "set max_error_count=64;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "drop tables t1,t2;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } checking warnigns with prepare and execute statmenets send Mysqlx.Sql.StmtExecute { stmt: "use test;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "CREATE TABLE t1(f1 VARCHAR(6) NOT NULL, FULLTEXT KEY(f1), UNIQUE(f1));" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "INSERT INTO t1 VALUES (\'test\');" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 1\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "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;" } Mysqlx.Resultset.ColumnMetaData { type: SINT name: "1" original_name: "" table: "" original_table: "" schema: "" catalog: "def" collation: 0 fractional_digits: 0 length: 1 flags: 16 } Mysqlx.Resultset.Row { field: "\002" } Mysqlx.Resultset.FetchDone { } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "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\';" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: PRODUCED_MESSAGE\nvalue {\n type: V_STRING\n v_string {\n value: \"Statement prepared\"\n }\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "EXECUTE stmt;" } Mysqlx.Resultset.ColumnMetaData { type: SINT name: "1" original_name: "" table: "" original_table: "" schema: "" catalog: "def" collation: 0 fractional_digits: 0 length: 1 flags: 16 } Mysqlx.Resultset.Row { field: "\002" } Mysqlx.Resultset.FetchDone { } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "EXECUTE stmt;" } Mysqlx.Resultset.ColumnMetaData { type: SINT name: "1" original_name: "" table: "" original_table: "" schema: "" catalog: "def" collation: 0 fractional_digits: 0 length: 1 flags: 16 } Mysqlx.Resultset.Row { field: "\002" } Mysqlx.Resultset.FetchDone { } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "DEALLOCATE PREPARE stmt;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "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))\';" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: PRODUCED_MESSAGE\nvalue {\n type: V_STRING\n v_string {\n value: \"Statement prepared\"\n }\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "EXECUTE stmt;" } Mysqlx.Resultset.ColumnMetaData { type: SINT name: "1" original_name: "" table: "" original_table: "" schema: "" catalog: "def" collation: 0 fractional_digits: 0 length: 1 flags: 16 } Mysqlx.Resultset.Row { field: "\002" } Mysqlx.Resultset.FetchDone { } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "EXECUTE stmt;" } Mysqlx.Resultset.ColumnMetaData { type: SINT name: "1" original_name: "" table: "" original_table: "" schema: "" catalog: "def" collation: 0 fractional_digits: 0 length: 1 flags: 16 } Mysqlx.Resultset.Row { field: "\002" } Mysqlx.Resultset.FetchDone { } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "DEALLOCATE PREPARE stmt;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "drop table t1;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } checking warnings with group by when sql_mode is no_engine_substitution send Mysqlx.Sql.StmtExecute { stmt: "use test;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "SET sql_mode = \'NO_ENGINE_SUBSTITUTION\';" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "create table t1 (c1 char(3), c2 char(3));" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "create table t2 (c3 char(3), c4 char(3));" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "insert into t1 values (\'aaa\', \'bb1\'), (\'aaa\', \'bb2\');" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 2\n}\n }" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: PRODUCED_MESSAGE\nvalue {\n type: V_STRING\n v_string {\n value: \"Records: 2 Duplicates: 0 Warnings: 0\"\n }\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "insert into t2 values (\'aaa\', \'bb1\'), (\'aaa\', \'bb2\');" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 2\n}\n }" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: PRODUCED_MESSAGE\nvalue {\n type: V_STRING\n v_string {\n value: \"Records: 2 Duplicates: 0 Warnings: 0\"\n }\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "select t1.c1 as c2 from t1, t2 where t1.c2 = t2.c4 group by c2;" } Mysqlx.Resultset.ColumnMetaData { type: BYTES name: "c2" original_name: "c1" table: "t1" original_table: "t1" schema: "test" catalog: "def" collation: 8 fractional_digits: 0 length: 3 flags: 1 } Mysqlx.Resultset.Row { field: "aaa\000" } Mysqlx.Resultset.Row { field: "aaa\000" } Mysqlx.Resultset.FetchDone { } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "select t1.c1 as c2 from t1, t2 where t1.c2 = t2.c4 group by t1.c1;" } Mysqlx.Resultset.ColumnMetaData { type: BYTES name: "c2" original_name: "c1" table: "t1" original_table: "t1" schema: "test" catalog: "def" collation: 8 fractional_digits: 0 length: 3 flags: 1 } Mysqlx.Resultset.Row { field: "aaa\000" } Mysqlx.Resultset.FetchDone { } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "drop table t1, t2;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } setting back to default of sql_mode send Mysqlx.Sql.StmtExecute { stmt: "SET sql_mode = \'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION\';" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } checking with group by where both error and warnings expected with default sql_mode send Mysqlx.Sql.StmtExecute { stmt: "use test;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "create table t1 (c1 char(3), c2 char(3));" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "create table t2 (c3 char(3), c4 char(3));" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "insert into t1 values (\'aaa\', \'bb1\'), (\'aaa\', \'bb2\');" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 2\n}\n }" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: PRODUCED_MESSAGE\nvalue {\n type: V_STRING\n v_string {\n value: \"Records: 2 Duplicates: 0 Warnings: 0\"\n }\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "insert into t2 values (\'aaa\', \'bb1\'), (\'aaa\', \'bb2\');" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 2\n}\n }" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: PRODUCED_MESSAGE\nvalue {\n type: V_STRING\n v_string {\n value: \"Records: 2 Duplicates: 0 Warnings: 0\"\n }\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "select t1.c1 as c2 from t1, t2 where t1.c2 = t2.c4 group by c2;" } Mysqlx.Error { severity: ERROR code: 1055 msg: "Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column \'test.t1.c1\' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by" sql_state: "42000" } expect both error and warning change result file once Bug#21524666 is fixed send Mysqlx.Sql.StmtExecute { stmt: "select t1.c1 as c2 from t1, t2 where t1.c2 = t2.c4 group by t1.c1;" } Mysqlx.Resultset.ColumnMetaData { type: BYTES name: "c2" original_name: "c1" table: "t1" original_table: "t1" schema: "test" catalog: "def" collation: 8 fractional_digits: 0 length: 3 flags: 1 } Mysqlx.Resultset.Row { field: "aaa\000" } Mysqlx.Resultset.FetchDone { } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "drop table t1, t2;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } checking warnings with rollback on non-transactional tables send Mysqlx.Sql.StmtExecute { stmt: "use test;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "create table t1 (n int not null primary key) engine=myisam;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "begin work;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "insert into t1 values (4);" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 1\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "insert into t1 values (5);" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 1\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "rollback;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "show warnings;" } Mysqlx.Resultset.ColumnMetaData { type: BYTES name: "Level" original_name: "" table: "" original_table: "" schema: "" catalog: "def" collation: 33 fractional_digits: 31 length: 21 flags: 16 } Mysqlx.Resultset.ColumnMetaData { type: UINT name: "Code" original_name: "" table: "" original_table: "" schema: "" catalog: "def" collation: 0 fractional_digits: 0 length: 4 flags: 16 } Mysqlx.Resultset.ColumnMetaData { type: BYTES name: "Message" original_name: "" table: "" original_table: "" schema: "" catalog: "def" collation: 33 fractional_digits: 31 length: 1536 flags: 16 } Mysqlx.Resultset.Row { field: "Warning\000" field: "\254\t" field: "Some non-transactional changed tables couldn\'t be rolled back\000" } Mysqlx.Resultset.FetchDone { } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "show errors;" } Mysqlx.Resultset.ColumnMetaData { type: BYTES name: "Level" original_name: "" table: "" original_table: "" schema: "" catalog: "def" collation: 33 fractional_digits: 31 length: 21 flags: 16 } Mysqlx.Resultset.ColumnMetaData { type: UINT name: "Code" original_name: "" table: "" original_table: "" schema: "" catalog: "def" collation: 0 fractional_digits: 0 length: 4 flags: 16 } Mysqlx.Resultset.ColumnMetaData { type: BYTES name: "Message" original_name: "" table: "" original_table: "" schema: "" catalog: "def" collation: 33 fractional_digits: 31 length: 1536 flags: 16 } Mysqlx.Resultset.FetchDone { } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "select @@warning_count,@@error_count;" } Mysqlx.Resultset.ColumnMetaData { type: UINT name: "@@warning_count" original_name: "" table: "" original_table: "" schema: "" catalog: "def" collation: 0 fractional_digits: 0 length: 21 flags: 0 } Mysqlx.Resultset.ColumnMetaData { type: UINT name: "@@error_count" original_name: "" table: "" original_table: "" schema: "" catalog: "def" collation: 0 fractional_digits: 0 length: 21 flags: 0 } Mysqlx.Resultset.Row { field: "\001" field: "\000" } Mysqlx.Resultset.FetchDone { } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "select * from t1;" } Mysqlx.Resultset.ColumnMetaData { type: SINT name: "n" original_name: "n" table: "t1" original_table: "t1" schema: "test" catalog: "def" collation: 0 fractional_digits: 0 length: 11 flags: 48 } Mysqlx.Resultset.Row { field: "\010" } Mysqlx.Resultset.Row { field: "\n" } Mysqlx.Resultset.FetchDone { } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "show warnings;" } Mysqlx.Resultset.ColumnMetaData { type: BYTES name: "Level" original_name: "" table: "" original_table: "" schema: "" catalog: "def" collation: 33 fractional_digits: 31 length: 21 flags: 16 } Mysqlx.Resultset.ColumnMetaData { type: UINT name: "Code" original_name: "" table: "" original_table: "" schema: "" catalog: "def" collation: 0 fractional_digits: 0 length: 4 flags: 16 } Mysqlx.Resultset.ColumnMetaData { type: BYTES name: "Message" original_name: "" table: "" original_table: "" schema: "" catalog: "def" collation: 33 fractional_digits: 31 length: 1536 flags: 16 } Mysqlx.Resultset.FetchDone { } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "select @@warning_count;" } Mysqlx.Resultset.ColumnMetaData { type: UINT name: "@@warning_count" original_name: "" table: "" original_table: "" schema: "" catalog: "def" collation: 0 fractional_digits: 0 length: 21 flags: 0 } Mysqlx.Resultset.Row { field: "\000" } Mysqlx.Resultset.FetchDone { } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "drop table t1;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } expect 2 warnings for insert related to truncation and incorrect date value RUN use test 0 rows affected RUN set sql_mode='' 0 rows affected RUN 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 ) 0 rows affected send Mysqlx.Sql.StmtExecute { stmt: "insert t1(a) values(7777777777);" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 1\n}\n }" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: PRODUCED_MESSAGE\nvalue {\n type: V_STRING\n v_string {\n value: \"Records: 1 Duplicates: 0 Warnings: 2\"\n }\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } RUN drop table t1 0 rows affected RUN SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' 0 rows affected checking warnings while creating index which is more than row size RUN use test 0 rows affected RUN create table worklog5743_1(a1 int, a2 TEXT not null) KEY_BLOCK_SIZE=1 0 rows affected RUN create table worklog5743_2(a1 int, a2 TEXT not null) KEY_BLOCK_SIZE=2 0 rows affected RUN create table worklog5743_4(a1 int, a2 TEXT not null) KEY_BLOCK_SIZE=4 0 rows affected RUN create table worklog5743_8(a1 int, a2 TEXT, a3 TEXT) KEY_BLOCK_SIZE=8 0 rows affected below statement throws warning as Error and actual error is missing change result file once Bug#21529270 fixed send Mysqlx.Sql.StmtExecute { stmt: "create index idx1 on worklog5743_1(a2(4000));" } Mysqlx.Error { severity: ERROR code: 1071 msg: "Specified key was too long; max key length is 3072 bytes" sql_state: "42000" } RUN drop table worklog5743_1 0 rows affected RUN drop table worklog5743_2 0 rows affected RUN drop table worklog5743_4 0 rows affected RUN drop table worklog5743_8 0 rows affected checking warnings with different innodb file format RUN use test 0 rows affected send Mysqlx.Sql.StmtExecute { stmt: "set innodb_strict_mode = off;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "set global innodb_file_per_table = 0;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } send Mysqlx.Sql.StmtExecute { stmt: "create temporary table t (i int) engine = innodb row_format = compressed;" } Mysqlx.Notice.Frame { type: 3 scope: LOCAL payload: "Mysqlx.Notice.SessionStateChanged { param: ROWS_AFFECTED\nvalue {\n type: V_UINT\n v_unsigned_int: 0\n}\n }" } Mysqlx.Sql.StmtExecuteOk { } RUN drop table t 0 rows affected RUN set innodb_strict_mode = on 0 rows affected RUN set @@global.innodb_file_per_table = 1 0 rows affected checking warnings with different innodb row format RUN use test 0 rows affected expect one Error and Warning modify the result file once Bug#21524666 is fixed send Mysqlx.Sql.StmtExecute { stmt: "create table t2 (id int primary key) engine = innodb key_block_size = 9;" } Mysqlx.Error { severity: ERROR code: 1031 msg: "Table storage engine for \'t2\' doesn\'t have this option" sql_state: "HY000" } expect 2 warnings and 1 Error modify the result file once Bug#21524666 is fixed send Mysqlx.Sql.StmtExecute { stmt: "create table t2 (id int primary key) engine = innodb key_block_size = 9 row_format = redundant;" } Mysqlx.Error { severity: ERROR code: 1031 msg: "Table storage engine for \'t2\' doesn\'t have this option" sql_state: "HY000" } expect 1 warning and 2 Error modify the result file once Bug#21524666 is fixed send Mysqlx.Sql.StmtExecute { stmt: "create table bug46000(`id` int, key `GEN_clust_INDEX`(`id`))engine=innodb;" } Mysqlx.Error { severity: ERROR code: 1280 msg: "Incorrect index name \'GEN_CLUST_INDEX\'" sql_state: "42000" } send Mysqlx.Sql.StmtExecute { stmt: "disable_notices" args { type: SCALAR scalar { type: V_STRING v_string { value: "account_expired" } } } namespace: "xplugin" } Mysqlx.Error { severity: ERROR code: 5164 msg: "Cannot disable notice account_expired" sql_state: "HY000" } Mysqlx.Ok { msg: "bye!" } ok Try Disable warnings send Mysqlx.Sql.StmtExecute { stmt: "disable_notices" args { type: SCALAR scalar { type: V_STRING v_string { value: "warnings" } } } namespace: "xplugin" } command ok Namespace 'xplugin' is deprecated, please use 'mysqlx' instead Try Disable account_expired send Mysqlx.Sql.StmtExecute { stmt: "disable_notices" args { type: SCALAR scalar { type: V_STRING v_string { value: "account_expired" } } } namespace: "xplugin" } Mysqlx.Error { severity: ERROR code: 5164 msg: "Cannot disable notice account_expired" sql_state: "HY000" } Try Disable generated_insert_id send Mysqlx.Sql.StmtExecute { stmt: "disable_notices" args { type: SCALAR scalar { type: V_STRING v_string { value: "generated_insert_id" } } } namespace: "xplugin" } Mysqlx.Error { severity: ERROR code: 5164 msg: "Cannot disable notice generated_insert_id" sql_state: "HY000" } Try Disable rows_affected send Mysqlx.Sql.StmtExecute { stmt: "disable_notices" args { type: SCALAR scalar { type: V_STRING v_string { value: "rows_affected" } } } namespace: "xplugin" } Mysqlx.Error { severity: ERROR code: 5164 msg: "Cannot disable notice rows_affected" sql_state: "HY000" } Try Disable produced_message send Mysqlx.Sql.StmtExecute { stmt: "disable_notices" args { type: SCALAR scalar { type: V_STRING v_string { value: "produced_message" } } } namespace: "xplugin" } Mysqlx.Error { severity: ERROR code: 5164 msg: "Cannot disable notice produced_message" sql_state: "HY000" } expect Mysqlx_stmt_disable_notices=5 and remaining are 0 RUN show status like 'Mysqlx%notice%' Variable_name Value Mysqlx_notice_other_sent 2 Mysqlx_notice_warning_sent 0 Mysqlx_stmt_disable_notices 5 Mysqlx_stmt_enable_notices 0 Mysqlx_stmt_list_notices 0 0 rows affected Mysqlx.Ok { msg: "bye!" } ok create user xplugin@localhost identified by 'xplugin'; Try Disable warnings send Mysqlx.Sql.StmtExecute { stmt: "disable_notices" args { type: SCALAR scalar { type: V_STRING v_string { value: "warnings" } } } namespace: "xplugin" } command ok Namespace 'xplugin' is deprecated, please use 'mysqlx' instead Try Disable account_expired send Mysqlx.Sql.StmtExecute { stmt: "disable_notices" args { type: SCALAR scalar { type: V_STRING v_string { value: "account_expired" } } } namespace: "xplugin" } Mysqlx.Error { severity: ERROR code: 5164 msg: "Cannot disable notice account_expired" sql_state: "HY000" } Try Disable generated_insert_id send Mysqlx.Sql.StmtExecute { stmt: "disable_notices" args { type: SCALAR scalar { type: V_STRING v_string { value: "generated_insert_id" } } } namespace: "xplugin" } Mysqlx.Error { severity: ERROR code: 5164 msg: "Cannot disable notice generated_insert_id" sql_state: "HY000" } Try Disable rows_affected send Mysqlx.Sql.StmtExecute { stmt: "disable_notices" args { type: SCALAR scalar { type: V_STRING v_string { value: "rows_affected" } } } namespace: "xplugin" } Mysqlx.Error { severity: ERROR code: 5164 msg: "Cannot disable notice rows_affected" sql_state: "HY000" } Try Disable produced_message send Mysqlx.Sql.StmtExecute { stmt: "disable_notices" args { type: SCALAR scalar { type: V_STRING v_string { value: "produced_message" } } } namespace: "xplugin" } Mysqlx.Error { severity: ERROR code: 5164 msg: "Cannot disable notice produced_message" sql_state: "HY000" } expect Mysqlx_stmt_disable_notices=5 and remaining are 0 RUN show status like 'Mysqlx%notice%' Variable_name Value Mysqlx_notice_other_sent 2 Mysqlx_notice_warning_sent 0 Mysqlx_stmt_disable_notices 5 Mysqlx_stmt_enable_notices 0 Mysqlx_stmt_list_notices 0 0 rows affected Mysqlx.Ok { msg: "bye!" } ok send Mysqlx.Sql.StmtExecute { stmt: "disable_notices" args { type: SCALAR scalar { type: V_STRING v_string { value: "warnings" } } } namespace: "xplugin" } command ok Namespace 'xplugin' is deprecated, please use 'mysqlx' instead checking warnings with procedure execution RUN SET @start_global_value = @@global.max_error_count 0 rows affected RUN SELECT @start_global_value @start_global_value 64 0 rows affected RUN SET @start_session_value = @@session.max_error_count 0 rows affected RUN SELECT @start_session_value @start_session_value 64 0 rows affected RUN drop database if exists demo 0 rows affected RUN create database demo 1 rows affected RUN use demo 0 rows affected RUN create procedure proc_1() begin declare exit handler for sqlexception resignal sqlstate '45000' set message_text='Oops in proc_1'; call proc_2(); end 0 rows affected RUN create procedure proc_2() begin declare exit handler for sqlexception resignal sqlstate '45000' set message_text='Oops in proc_2'; call proc_3(); end 0 rows affected RUN create procedure proc_3() begin declare exit handler for sqlexception resignal sqlstate '45000' set message_text='Oops in proc_3'; call proc_4(); end 0 rows affected RUN create procedure proc_4() begin declare exit handler for sqlexception resignal sqlstate '45000' set message_text='Oops in proc_4'; call proc_5(); end 0 rows affected RUN create procedure proc_5() begin declare exit handler for sqlexception resignal sqlstate '45000' set message_text='Oops in proc_5'; call proc_6(); end 0 rows affected RUN create procedure proc_6() begin declare exit handler for sqlexception resignal sqlstate '45000' set message_text='Oops in proc_6'; call proc_7(); end 0 rows affected RUN create procedure proc_7() begin declare exit handler for sqlexception resignal sqlstate '45000' set message_text='Oops in proc_7'; call proc_8(); end 0 rows affected RUN create procedure proc_8() begin declare exit handler for sqlexception resignal sqlstate '45000' set message_text='Oops in proc_8'; call proc_9(); end 0 rows affected RUN 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 0 rows affected send Mysqlx.Sql.StmtExecute { stmt: "call proc_1();" } Mysqlx.Error { severity: ERROR code: 1644 msg: "Oops in proc_1" sql_state: "45000" } RUN SET @@session.max_error_count = 5 0 rows affected RUN SELECT @@session.max_error_count @@session.max_error_count 5 0 rows affected send Mysqlx.Sql.StmtExecute { stmt: "call proc_1();" } Mysqlx.Error { severity: ERROR code: 1644 msg: "Oops in proc_1" sql_state: "45000" } RUN SET @@session.max_error_count = 7 0 rows affected RUN SELECT @@session.max_error_count @@session.max_error_count 7 0 rows affected send Mysqlx.Sql.StmtExecute { stmt: "call proc_1();" } Mysqlx.Error { severity: ERROR code: 1644 msg: "Oops in proc_1" sql_state: "45000" } RUN SET @@session.max_error_count = 9 0 rows affected RUN SELECT @@session.max_error_count @@session.max_error_count 9 0 rows affected send Mysqlx.Sql.StmtExecute { stmt: "call proc_1();" } Mysqlx.Error { severity: ERROR code: 1644 msg: "Oops in proc_1" sql_state: "45000" } RUN drop database demo 0 rows affected RUN SET @@global.max_error_count = @start_global_value 0 rows affected RUN SELECT @@global.max_error_count @@global.max_error_count 64 0 rows affected RUN SET @@session.max_error_count = @start_session_value 0 rows affected RUN SELECT @@session.max_error_count @@session.max_error_count 64 0 rows affected checking warnings while creating index with more than row size RUN use test 0 rows affected RUN create table worklog5743_1(a1 int, a2 TEXT not null) KEY_BLOCK_SIZE=1 0 rows affected RUN create table worklog5743_2(a1 int, a2 TEXT not null) KEY_BLOCK_SIZE=2 0 rows affected RUN create table worklog5743_4(a1 int, a2 TEXT not null) KEY_BLOCK_SIZE=4 0 rows affected RUN create table worklog5743_8(a1 int, a2 TEXT, a3 TEXT) KEY_BLOCK_SIZE=8 0 rows affected below statement throwing warning as an Error and actual error is missing Change result file once Bug#21529270 fixed send Mysqlx.Sql.StmtExecute { stmt: "create index idx1 on worklog5743_1(a2(4000));" } Mysqlx.Error { severity: ERROR code: 1071 msg: "Specified key was too long; max key length is 3072 bytes" sql_state: "42000" } RUN drop table worklog5743_1 0 rows affected RUN drop table worklog5743_2 0 rows affected RUN drop table worklog5743_4 0 rows affected RUN drop table worklog5743_8 0 rows affected Mysqlx.Ok { msg: "bye!" } ok Disable multiple notices both read-only and read-write with single StmtExecute,expect error from the first error is sees expect error from account_expired onwards as it is read-only though warnings returns success as it is rea-write send Mysqlx.Sql.StmtExecute { stmt: "disable_notices" args { type: SCALAR scalar { type: V_STRING v_string { value: "warnings" } } } args { type: SCALAR scalar { type: V_STRING v_string { value: "account_expired" } } } args { type: SCALAR scalar { type: V_STRING v_string { value: "generated_insert_id" } } } args { type: SCALAR scalar { type: V_STRING v_string { value: "rows_affected" } } } args { type: SCALAR scalar { type: V_STRING v_string { value: "produced_message" } } } namespace: "xplugin" } Got expected error: Cannot disable notice account_expired (code 5164) send Mysqlx.Sql.StmtExecute { stmt: "list_notices" namespace: "xplugin" } Mysqlx.Resultset.ColumnMetaData { type: BYTES name: "notice" original_name: "" table: "" original_table: "" schema: "" catalog: "" collation: 0 fractional_digits: 0 length: 0 flags: 0 } Mysqlx.Resultset.ColumnMetaData { type: SINT name: "enabled" original_name: "" table: "" original_table: "" schema: "" catalog: "" collation: 0 fractional_digits: 0 length: 0 flags: 0 } Mysqlx.Resultset.Row { field: "warnings\000" field: "\002" } Mysqlx.Resultset.Row { field: "account_expired\000" field: "\002" } Mysqlx.Resultset.Row { field: "generated_insert_id\000" field: "\002" } Mysqlx.Resultset.Row { field: "rows_affected\000" field: "\002" } Mysqlx.Resultset.Row { field: "produced_message\000" field: "\002" } Mysqlx.Resultset.FetchDone { } Mysqlx.Sql.StmtExecuteOk { } expect error as disabling account_expired returns error as expected since it is read-ony send Mysqlx.Sql.StmtExecute { stmt: "disable_notices" args { type: SCALAR scalar { type: V_STRING v_string { value: "account_expired" } } } args { type: SCALAR scalar { type: V_STRING v_string { value: "warnings" } } } args { type: SCALAR scalar { type: V_STRING v_string { value: "generated_insert_id" } } } args { type: SCALAR scalar { type: V_STRING v_string { value: "rows_affected" } } } args { type: SCALAR scalar { type: V_STRING v_string { value: "produced_message" } } } namespace: "xplugin" } Mysqlx.Error { severity: ERROR code: 5164 msg: "Cannot disable notice account_expired" sql_state: "HY000" } send Mysqlx.Sql.StmtExecute { stmt: "list_notices" namespace: "xplugin" } Mysqlx.Resultset.ColumnMetaData { type: BYTES name: "notice" original_name: "" table: "" original_table: "" schema: "" catalog: "" collation: 0 fractional_digits: 0 length: 0 flags: 0 } Mysqlx.Resultset.ColumnMetaData { type: SINT name: "enabled" original_name: "" table: "" original_table: "" schema: "" catalog: "" collation: 0 fractional_digits: 0 length: 0 flags: 0 } Mysqlx.Resultset.Row { field: "warnings\000" field: "\002" } Mysqlx.Resultset.Row { field: "account_expired\000" field: "\002" } Mysqlx.Resultset.Row { field: "generated_insert_id\000" field: "\002" } Mysqlx.Resultset.Row { field: "rows_affected\000" field: "\002" } Mysqlx.Resultset.Row { field: "produced_message\000" field: "\002" } Mysqlx.Resultset.FetchDone { } Mysqlx.Sql.StmtExecuteOk { } Mysqlx.Ok { msg: "bye!" } ok # restart: --show_compatibility_56=ON Disable warnings notice and observe stats send Mysqlx.Sql.StmtExecute { stmt: "disable_notices" args { type: SCALAR scalar { type: V_STRING v_string { value: "warnings" } } } namespace: "xplugin" } command ok Namespace 'xplugin' is deprecated, please use 'mysqlx' instead expect Mysqlx_notice_other_sent=0,Mysqlx_stmt_disable_notices=1 with xconnection RUN show status like 'Mysqlx%notice%' Variable_name Value Mysqlx_notice_other_sent 2 Mysqlx_notice_warning_sent 0 Mysqlx_stmt_disable_notices 1 Mysqlx_stmt_enable_notices 0 Mysqlx_stmt_list_notices 0 0 rows affected Disable account_expired notice and observe stats send Mysqlx.Sql.StmtExecute { stmt: "disable_notices" args { type: SCALAR scalar { type: V_STRING v_string { value: "account_expired" } } } namespace: "xplugin" } Mysqlx.Error { severity: ERROR code: 5164 msg: "Cannot disable notice account_expired" sql_state: "HY000" } expect Mysqlx_notice_other_sent=0,Mysqlx_stmt_disable_notices=2 with xconnection RUN show status like 'Mysqlx%notice%' Variable_name Value Mysqlx_notice_other_sent 3 Mysqlx_notice_warning_sent 0 Mysqlx_stmt_disable_notices 2 Mysqlx_stmt_enable_notices 0 Mysqlx_stmt_list_notices 0 0 rows affected Mysqlx.Ok { msg: "bye!" } ok show status like 'Mysqlx%notice%'; Variable_name Value Mysqlx_notice_other_sent 4 Mysqlx_notice_warning_sent 0 Mysqlx_stmt_disable_notices 2 Mysqlx_stmt_enable_notices 0 Mysqlx_stmt_list_notices 0 drop user xplugin@localhost; uninstall plugin mysqlx;
Close