[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@18.118.164.100: ~ $
# ==== Usage ====
# [--let $rpl_debug=1]
# --let $rpl_log_var_name= log_bin_basename|relay_log_basename|...
# --source suite/sys_vars/inc/bin_relay_log_basename_index.inc
#
#   $rpl_log_var_name
#     The name of the variable to test, i.e., one of:
#     - log_bin_basename
#     - relay_log_basename
#     - log_bin_index
#     - relay_log_index
#
#   $rpl_debug
#     See include/rpl_init.inc

if ($rpl_debug)
{
  --echo Testing variable named: $rpl_log_var_name
}

--let $basename= `SELECT @@global.$rpl_log_var_name`

#
# Assert that the variable is indeed only global
#
--replace_result $basename REPLACED
--eval select @@global.$rpl_log_var_name

--error ER_INCORRECT_GLOBAL_LOCAL_VAR
--eval select @@session.$rpl_log_var_name

#
# Assert that it is retrievable 
# 
--replace_result $basename REPLACED
--eval show global variables like '$rpl_log_var_name'

--replace_result $basename REPLACED
--eval show session variables like '$rpl_log_var_name'

--replace_result $basename REPLACED
--eval select * from information_schema.global_variables where variable_name='$rpl_log_var_name'

--replace_result $basename REPLACED
--eval select * from information_schema.session_variables where variable_name='$rpl_log_var_name'

#
# Assert it is read-only
#
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
--eval set global $rpl_log_var_name=1

--error ER_INCORRECT_GLOBAL_LOCAL_VAR
--eval set session $rpl_log_var_name=1


Filemanager

Name Type Size Permission Actions
autocommit_func2.inc File 643 B 0644
bin_relay_log_basename_index.inc File 1.38 KB 0644
binlog_cache_size_basic.inc File 7.15 KB 0644
binlog_stmt_cache_size_basic.inc File 7.35 KB 0644
bulk_insert_buffer_size_basic.inc File 9.06 KB 0644
charset_basic.inc File 2.52 KB 0644
collation_basic.inc File 10.2 KB 0644
delayed_insert_limit_basic.inc File 7.44 KB 0644
delayed_queue_size_basic.inc File 7.33 KB 0644
join_buffer_size_basic.inc File 8.2 KB 0644
key_cache_age_threshold_basic.inc File 7.92 KB 0644
log_warnings_basic.inc File 5.75 KB 0644
max_connect_errors_basic.inc File 7.68 KB 0644
max_seeks_for_key_basic.inc File 8.99 KB 0644
max_tmp_tables_basic.inc File 9.02 KB 0644
max_write_lock_count_basic.inc File 6.73 KB 0644
min_examined_row_limit_basic.inc File 9.68 KB 0644
multi_range_count_basic.inc File 9.22 KB 0644
myisam_max_sort_file_size_basic.inc File 8.18 KB 0644
myisam_repair_threads_basic.inc File 9.54 KB 0644
myisam_sort_buffer_size_basic.inc File 9.83 KB 0644
net_retry_count_basic.inc File 8.92 KB 0644
query_alloc_block_size_basic.inc File 9.79 KB 0644
query_cache_limit_basic.inc File 7.65 KB 0644
query_cache_min_res_unit_basic.inc File 8.38 KB 0644
query_cache_size_basic.inc File 7.82 KB 0644
range_alloc_block_size_basic.inc File 9.17 KB 0644
slave_transaction_retries_basic.inc File 8.23 KB 0644
sort_buffer_size_basic.inc File 9.18 KB 0644