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.119.172.58
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 /
sysschema /
t /
[ HOME SHELL ]
Name
Size
Permission
Action
all_sys_objects_exist.test
636
B
-rw-r--r--
fn_extract_schema_from_file_na...
352
B
-rw-r--r--
fn_extract_table_from_file_nam...
349
B
-rw-r--r--
fn_format_bytes.test
760
B
-rw-r--r--
fn_format_path-master.opt
172
B
-rw-r--r--
fn_format_path-master.sh
357
B
-rwxr-xr-x
fn_format_path.test
1.23
KB
-rw-r--r--
fn_format_statement.test
694
B
-rw-r--r--
fn_format_time.test
1.03
KB
-rw-r--r--
fn_list_add.test
911
B
-rw-r--r--
fn_list_drop.test
894
B
-rw-r--r--
fn_ps_is_account_enabled.test
675
B
-rw-r--r--
fn_ps_is_consumer_enabled.test
1.66
KB
-rw-r--r--
fn_ps_is_instrument_default_en...
1.36
KB
-rw-r--r--
fn_ps_is_instrument_default_ti...
1.33
KB
-rw-r--r--
fn_ps_is_thread_instrumented.t...
673
B
-rw-r--r--
fn_ps_thread_account.test
388
B
-rw-r--r--
fn_ps_thread_id.test
636
B
-rw-r--r--
fn_ps_thread_trx_info.test
3.9
KB
-rw-r--r--
fn_quote_identifier.test
1.02
KB
-rw-r--r--
fn_sys_get_config.test
427
B
-rw-r--r--
mysqldump.test
779
B
-rw-r--r--
pr_create_synonym_db.test
2.24
KB
-rw-r--r--
pr_diagnostics.test
1.67
KB
-rw-r--r--
pr_execute_prepared_stmt.test
553
B
-rw-r--r--
pr_ps_setup_reset_to_default.t...
795
B
-rw-r--r--
pr_ps_setup_show_disabled.test
1.13
KB
-rw-r--r--
pr_ps_setup_show_disabled_cons...
292
B
-rw-r--r--
pr_ps_setup_show_disabled_inst...
346
B
-rw-r--r--
pr_ps_setup_show_enabled.test
1.43
KB
-rw-r--r--
pr_ps_setup_show_enabled_consu...
291
B
-rw-r--r--
pr_ps_setup_show_enabled_instr...
525
B
-rw-r--r--
pr_ps_trace_statement_digest.t...
2.95
KB
-rw-r--r--
pr_statement_performance_analy...
20.17
KB
-rw-r--r--
pr_table_exists.test
962
B
-rw-r--r--
t_sys_config.test
627
B
-rw-r--r--
v_host_summary.test
543
B
-rw-r--r--
v_host_summary_by_file_io.test
598
B
-rw-r--r--
v_host_summary_by_file_io_type...
623
B
-rw-r--r--
v_host_summary_by_stages.test
593
B
-rw-r--r--
v_host_summary_by_statement_la...
648
B
-rw-r--r--
v_host_summary_by_statement_ty...
633
B
-rw-r--r--
v_innodb_buffer_stats_by_schem...
627
B
-rw-r--r--
v_innodb_buffer_stats_by_table...
622
B
-rw-r--r--
v_innodb_lock_waits.test
568
B
-rw-r--r--
v_io_by_thread_by_latency.test
598
B
-rw-r--r--
v_io_global_by_file_by_bytes.t...
613
B
-rw-r--r--
v_io_global_by_file_by_latency...
623
B
-rw-r--r--
v_io_global_by_wait_by_bytes.t...
613
B
-rw-r--r--
v_io_global_by_wait_by_latency...
623
B
-rw-r--r--
v_latest_file_io.test
553
B
-rw-r--r--
v_memory_by_host_by_current_by...
638
B
-rw-r--r--
v_memory_by_thread_by_current_...
648
B
-rw-r--r--
v_memory_by_user_by_current_by...
638
B
-rw-r--r--
v_memory_global_by_current_byt...
633
B
-rw-r--r--
v_memory_global_total.test
578
B
-rw-r--r--
v_metrics.test
344
B
-rw-r--r--
v_processlist.test
538
B
-rw-r--r--
v_ps_check_lost_instrumentatio...
391
B
-rw-r--r--
v_ps_digest_95th_percentile_by...
679
B
-rw-r--r--
v_ps_digest_avg_latency_distri...
673
B
-rw-r--r--
v_ps_schema_table_statistics_i...
643
B
-rw-r--r--
v_schema_auto_increment_column...
7.22
KB
-rw-r--r--
v_schema_index_statistics.test
598
B
-rw-r--r--
v_schema_object_overview.test
370
B
-rw-r--r--
v_schema_redundant_indexes.tes...
865
B
-rw-r--r--
v_schema_table_lock_waits.test
1.41
KB
-rw-r--r--
v_schema_table_statistics.test
598
B
-rw-r--r--
v_schema_table_statistics_with...
658
B
-rw-r--r--
v_schema_tables_with_full_tabl...
3.18
KB
-rw-r--r--
v_schema_unused_indexes.test
367
B
-rw-r--r--
v_session.test
518
B
-rw-r--r--
v_session_ssl_status.test
357
B
-rw-r--r--
v_statement_analysis.test
573
B
-rw-r--r--
v_statements_with_errors_or_wa...
653
B
-rw-r--r--
v_statements_with_full_table_s...
3.88
KB
-rw-r--r--
v_statements_with_runtimes_in_...
698
B
-rw-r--r--
v_statements_with_sorting.test
598
B
-rw-r--r--
v_statements_with_temp_tables....
618
B
-rw-r--r--
v_user_summary.test
543
B
-rw-r--r--
v_user_summary_by_file_io.test
598
B
-rw-r--r--
v_user_summary_by_file_io_type...
623
B
-rw-r--r--
v_user_summary_by_stages.test
593
B
-rw-r--r--
v_user_summary_by_statement_la...
648
B
-rw-r--r--
v_user_summary_by_statement_ty...
633
B
-rw-r--r--
v_version.test
362
B
-rw-r--r--
v_wait_classes_global_by_avg_l...
653
B
-rw-r--r--
v_wait_classes_global_by_laten...
633
B
-rw-r--r--
v_waits_by_host_by_latency.tes...
603
B
-rw-r--r--
v_waits_by_user_by_latency.tes...
603
B
-rw-r--r--
v_waits_global_by_latency.test
598
B
-rw-r--r--
version_functions.test
1.33
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : fn_ps_thread_trx_info.test
# Tests for sys schema # Verify the sys.ps_thread_trx_info() function perfoms as expected -- source include/not_embedded.inc # Performance schema tracks prepared statements separately, and does not # yet have a summary view that we can use for this view. # Until then, we disable this test with --ps-protocol -- source include/no_protocol.inc # Passing unknown connection id should return NULL SELECT sys.ps_thread_trx_info(234623462376); # Make sure current thread returns a valid JSON object SELECT JSON_VALID(sys.ps_thread_trx_info(sys.ps_thread_id(NULL))); # Dummy up some transactions and inspect CREATE DATABASE trx; CREATE TABLE trx.info (id INT PRIMARY KEY, info VARCHAR(20)); --connect(con1,localhost,root,,) connection con1; let $NEW_TRX_ID=`SELECT thread_id FROM performance_schema.threads WHERE PROCESSLIST_ID = connection_id()`; USE trx; START TRANSACTION; INSERT INTO info VALUES (1, 'foo'); COMMIT; START TRANSACTION; INSERT INTO info VALUES (2, 'bar'); COMMIT; connection default; --disable_query_log ONCE eval SET @ps_thread_id = $NEW_TRX_ID; # Get the JSON dump of the transaction info SET @json_doc := sys.ps_thread_trx_info(@ps_thread_id); # JSON should be valid SELECT JSON_VALID(@json_doc); # Should have two transactions in the array SELECT JSON_LENGTH(@json_doc); # Expected keys are returned for first transaction details SELECT JSON_KEYS(JSON_EXTRACT(@json_doc, '$[0]')); # Expected values are returned for the transaction details SELECT JSON_CONTAINS_PATH(@json_doc, 'one', '$[0].time'); SELECT JSON_CONTAINS(@json_doc, '"COMMITTED"', '$[0].state'); SELECT JSON_CONTAINS(@json_doc, '"READ WRITE"', '$[0].mode'); SELECT JSON_CONTAINS(@json_doc, '"NO"', '$[0].autocommitted'); SELECT JSON_CONTAINS(@json_doc, '"AUTOMATIC"', '$[0].gtid'); SELECT JSON_CONTAINS(@json_doc, '"REPEATABLE READ"', '$[0].isolation'); # Expected keys are returned for first transaction statements_executed details SELECT JSON_KEYS(JSON_EXTRACT(@json_doc, '$[0].statements_executed[0]')); # Confirm statement details values SELECT JSON_CONTAINS_PATH(@json_doc, 'one', '$[0].statements_executed[0].time'); SELECT JSON_CONTAINS(@json_doc, '"INSERT INTO info VALUES (1, \'foo\')"', '$[0].statements_executed[0].sql_text'); SELECT JSON_CONTAINS(@json_doc, '"trx"', '$[0].statements_executed[0].schema'); SELECT JSON_CONTAINS(@json_doc, '0', '$[0].statements_executed[0].rows_examined'); SELECT JSON_CONTAINS(@json_doc, '1', '$[0].statements_executed[0].rows_affected'); SELECT JSON_CONTAINS(@json_doc, '0', '$[0].statements_executed[0].rows_sent'); SELECT JSON_CONTAINS(@json_doc, '0', '$[0].statements_executed[0].tmp_tables'); SELECT JSON_CONTAINS(@json_doc, '0', '$[0].statements_executed[0].tmp_disk_tables'); SELECT JSON_CONTAINS(@json_doc, '0', '$[0].statements_executed[0].sort_rows'); SELECT JSON_CONTAINS(@json_doc, '0', '$[0].statements_executed[0].sort_merge_passes'); # Second statement in transaction should be a COMMIT SELECT JSON_CONTAINS(@json_doc, '"COMMIT"', '$[0].statements_executed[1].sql_text'); # Simulate a truncated set of output by lowering the @sys.ps_thread_trx_info.max_length user variable # This also tests the user variable works appropriately, incidentally SET @sys.ps_thread_trx_info.max_length = 100; # Should return an error JSON object --replace_regex /Row 1[1-2] was/Row 1X was/ SELECT sys.ps_thread_trx_info(@ps_thread_id); # Setting the user variable back to NULL should reset to 65535 from sys_config, and no truncation SET @sys.ps_thread_trx_info.max_length = NULL; SELECT JSON_VALID(sys.ps_thread_trx_info(@ps_thread_id)); # Clean up disconnect con1; DROP DATABASE trx;
Close