Linux server.edchosting.com 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64
LiteSpeed
Server IP : 75.98.162.185 & Your IP : 216.73.216.163
Domains :
Cant Read [ /etc/named.conf ]
User : goons4good
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
include /
mysql /
server /
private /
Delete
Unzip
Name
Size
Permission
Date
Action
atomic
[ DIR ]
drwxr-xr-x
2021-09-23 12:07
authors.h
9.59
KB
-rw-r--r--
2021-08-02 06:58
bounded_queue.h
6.58
KB
-rw-r--r--
2021-08-02 06:58
client_settings.h
1.89
KB
-rw-r--r--
2021-08-02 06:58
compat56.h
1.95
KB
-rw-r--r--
2021-08-02 06:58
config.h
14.22
KB
-rw-r--r--
2021-08-09 09:53
contributors.h
2.76
KB
-rw-r--r--
2021-08-02 06:58
create_options.h
4.26
KB
-rw-r--r--
2021-08-02 06:58
custom_conf.h
1.06
KB
-rw-r--r--
2021-08-02 06:58
datadict.h
1.65
KB
-rw-r--r--
2021-08-02 06:58
debug_sync.h
1.71
KB
-rw-r--r--
2021-08-02 06:58
derror.h
980
B
-rw-r--r--
2021-08-02 06:58
des_key_file.h
1.21
KB
-rw-r--r--
2021-08-02 06:58
discover.h
1.51
KB
-rw-r--r--
2021-08-02 06:58
dur_prop.h
1.06
KB
-rw-r--r--
2021-08-02 06:58
embedded_priv.h
1.47
KB
-rw-r--r--
2021-08-02 06:58
event_data_objects.h
3.92
KB
-rw-r--r--
2021-08-02 06:58
event_db_repository.h
3.55
KB
-rw-r--r--
2021-08-02 06:58
event_parse_data.h
2.83
KB
-rw-r--r--
2021-08-02 06:58
event_queue.h
3.36
KB
-rw-r--r--
2021-08-02 06:58
event_scheduler.h
3.21
KB
-rw-r--r--
2021-08-02 06:58
events.h
4.54
KB
-rw-r--r--
2021-08-02 06:58
field.h
172.36
KB
-rw-r--r--
2021-08-02 06:58
field_comp.h
1.15
KB
-rw-r--r--
2021-08-02 06:58
filesort.h
4.57
KB
-rw-r--r--
2021-08-02 06:58
filesort_utils.h
3.98
KB
-rw-r--r--
2021-08-02 06:58
ft_global.h
2.97
KB
-rw-r--r--
2021-08-02 06:58
gcalc_slicescan.h
16.86
KB
-rw-r--r--
2021-08-02 06:58
gcalc_tools.h
11.38
KB
-rw-r--r--
2021-08-02 06:58
group_by_handler.h
3.08
KB
-rw-r--r--
2021-08-02 06:58
gstream.h
2.38
KB
-rw-r--r--
2021-08-02 06:58
ha_partition.h
61.07
KB
-rw-r--r--
2021-08-02 06:58
ha_sequence.h
5.54
KB
-rw-r--r--
2021-08-02 06:58
handler.h
172.59
KB
-rw-r--r--
2021-08-02 06:58
hash.h
4.33
KB
-rw-r--r--
2021-08-02 06:58
hash_filo.h
5.4
KB
-rw-r--r--
2021-08-02 06:58
heap.h
9.23
KB
-rw-r--r--
2021-08-02 06:58
hostname.h
5.29
KB
-rw-r--r--
2021-08-02 06:58
ilist.h
6.38
KB
-rw-r--r--
2021-08-02 06:58
init.h
894
B
-rw-r--r--
2021-08-02 06:58
innodb_priv.h
1.39
KB
-rw-r--r--
2021-08-02 06:58
item.h
218.12
KB
-rw-r--r--
2021-08-02 06:58
item_cmpfunc.h
116.7
KB
-rw-r--r--
2021-08-02 06:58
item_create.h
7.62
KB
-rw-r--r--
2021-08-02 06:58
item_func.h
98.35
KB
-rw-r--r--
2021-08-02 06:58
item_geofunc.h
28.54
KB
-rw-r--r--
2021-08-02 06:58
item_inetfunc.h
7.47
KB
-rw-r--r--
2021-08-02 06:58
item_jsonfunc.h
12.65
KB
-rw-r--r--
2021-08-02 06:58
item_row.h
4.43
KB
-rw-r--r--
2021-08-02 06:58
item_strfunc.h
53.01
KB
-rw-r--r--
2021-08-02 06:58
item_subselect.h
51.09
KB
-rw-r--r--
2021-08-02 06:58
item_sum.h
61.51
KB
-rw-r--r--
2021-08-02 06:58
item_timefunc.h
41.85
KB
-rw-r--r--
2021-08-02 06:58
item_vers.h
3.62
KB
-rw-r--r--
2021-08-02 06:58
item_windowfunc.h
30.02
KB
-rw-r--r--
2021-08-02 06:58
item_xmlfunc.h
3.37
KB
-rw-r--r--
2021-08-02 06:58
key.h
2
KB
-rw-r--r--
2021-08-02 06:58
keycaches.h
1.95
KB
-rw-r--r--
2021-08-02 06:58
lex.h
28.49
KB
-rw-r--r--
2021-08-09 09:49
lex_hash.h
138.24
KB
-rw-r--r--
2021-08-09 09:53
lex_string.h
1.92
KB
-rw-r--r--
2021-08-02 06:58
lex_symbol.h
1.29
KB
-rw-r--r--
2021-08-02 06:58
lex_token.h
41.21
KB
-rw-r--r--
2021-08-09 09:53
lf.h
6.23
KB
-rw-r--r--
2021-08-02 06:58
lock.h
2.16
KB
-rw-r--r--
2021-08-02 06:58
log.h
42.62
KB
-rw-r--r--
2021-08-02 06:58
log_event.h
159.16
KB
-rw-r--r--
2021-08-02 06:58
log_event_old.h
19.2
KB
-rw-r--r--
2021-08-02 06:58
log_slow.h
1.98
KB
-rw-r--r--
2021-08-02 06:58
maria.h
17.3
KB
-rw-r--r--
2021-08-02 06:58
mariadb.h
1.25
KB
-rw-r--r--
2021-08-02 06:58
mdl.h
33.06
KB
-rw-r--r--
2021-08-02 06:58
mem_root_array.h
6.77
KB
-rw-r--r--
2021-08-02 06:58
message.h
2.06
KB
-rw-r--r--
2021-08-02 06:58
multi_range_read.h
22.22
KB
-rw-r--r--
2021-08-02 06:58
my_alarm.h
2.24
KB
-rw-r--r--
2021-08-02 06:58
my_apc.h
4.61
KB
-rw-r--r--
2021-08-02 06:58
my_atomic.h
8.02
KB
-rw-r--r--
2021-08-02 06:58
my_base.h
25.62
KB
-rw-r--r--
2021-08-02 06:58
my_bit.h
3.13
KB
-rw-r--r--
2021-08-02 06:58
my_bitmap.h
6.07
KB
-rw-r--r--
2021-08-02 06:58
my_check_opt.h
2.56
KB
-rw-r--r--
2021-08-02 06:58
my_compare.h
5.37
KB
-rw-r--r--
2021-08-02 06:58
my_context.h
6.51
KB
-rw-r--r--
2021-08-02 06:58
my_cpu.h
3.68
KB
-rw-r--r--
2021-08-02 06:58
my_crypt.h
904
B
-rw-r--r--
2021-08-02 06:58
my_decimal.h
12.58
KB
-rw-r--r--
2021-08-02 06:58
my_default.h
2.47
KB
-rw-r--r--
2021-08-02 06:58
my_handler_errors.h
4.59
KB
-rw-r--r--
2021-08-02 06:58
my_json_writer.h
4.96
KB
-rw-r--r--
2021-08-02 06:58
my_libwrap.h
1.16
KB
-rw-r--r--
2021-08-02 06:58
my_md5.h
1.45
KB
-rw-r--r--
2021-08-02 06:58
my_nosys.h
1.4
KB
-rw-r--r--
2021-08-02 06:58
my_rdtsc.h
3.87
KB
-rw-r--r--
2021-08-02 06:58
my_rnd.h
1.04
KB
-rw-r--r--
2021-08-02 06:58
my_service_manager.h
1.47
KB
-rw-r--r--
2021-08-02 06:58
my_stacktrace.h
2.99
KB
-rw-r--r--
2021-08-02 06:58
my_time.h
8.59
KB
-rw-r--r--
2021-08-02 06:58
my_tree.h
3.9
KB
-rw-r--r--
2021-08-02 06:58
my_uctype.h
67.9
KB
-rw-r--r--
2021-08-02 06:58
my_user.h
1.1
KB
-rw-r--r--
2021-08-02 06:58
myisam.h
16.86
KB
-rw-r--r--
2021-08-02 06:58
myisamchk.h
4.73
KB
-rw-r--r--
2021-08-02 06:58
myisammrg.h
4.66
KB
-rw-r--r--
2021-08-02 06:58
myisampack.h
14.58
KB
-rw-r--r--
2021-08-02 06:58
mysql_async.h
1.77
KB
-rw-r--r--
2021-08-02 06:58
mysqld.h
32.39
KB
-rw-r--r--
2021-08-09 09:49
mysqld_default_groups.h
169
B
-rw-r--r--
2021-08-02 06:58
mysqld_suffix.h
1.17
KB
-rw-r--r--
2021-08-02 06:58
mysys_err.h
2.81
KB
-rw-r--r--
2021-08-02 06:58
nt_servc.h
2.94
KB
-rw-r--r--
2021-08-02 06:58
opt_range.h
54.53
KB
-rw-r--r--
2021-08-02 06:58
opt_subselect.h
13.8
KB
-rw-r--r--
2021-08-02 06:58
parse_file.h
4.09
KB
-rw-r--r--
2021-08-02 06:58
partition_element.h
4.98
KB
-rw-r--r--
2021-08-02 06:58
partition_info.h
16.61
KB
-rw-r--r--
2021-08-02 06:58
password.h
1.14
KB
-rw-r--r--
2021-08-02 06:58
pcre.h
30.97
KB
-rw-r--r--
2021-08-09 09:51
probes_mysql.h
973
B
-rw-r--r--
2021-08-02 06:58
probes_mysql_dtrace.h
32.23
KB
-rw-r--r--
2021-08-09 09:53
probes_mysql_nodtrace.h
4.89
KB
-rw-r--r--
2021-08-09 09:53
procedure.h
5.64
KB
-rw-r--r--
2021-08-02 06:58
protocol.h
9.72
KB
-rw-r--r--
2021-08-02 06:58
proxy_protocol.h
548
B
-rw-r--r--
2021-08-02 06:58
queues.h
3.46
KB
-rw-r--r--
2021-08-02 06:58
records.h
2.93
KB
-rw-r--r--
2021-08-02 06:58
repl_failsafe.h
1.69
KB
-rw-r--r--
2021-08-02 06:58
replication.h
15.73
KB
-rw-r--r--
2021-08-02 06:58
rijndael.h
1.67
KB
-rw-r--r--
2021-08-02 06:58
rpl_constants.h
3.28
KB
-rw-r--r--
2021-08-02 06:58
rpl_filter.h
4.41
KB
-rw-r--r--
2021-08-02 06:58
rpl_gtid.h
12.91
KB
-rw-r--r--
2021-08-02 06:58
rpl_injector.h
9.4
KB
-rw-r--r--
2021-08-02 06:58
rpl_mi.h
13.38
KB
-rw-r--r--
2021-08-02 06:58
rpl_parallel.h
13.32
KB
-rw-r--r--
2021-08-02 06:58
rpl_record.h
1.55
KB
-rw-r--r--
2021-08-02 06:58
rpl_record_old.h
1.37
KB
-rw-r--r--
2021-08-02 06:58
rpl_reporting.h
2.96
KB
-rw-r--r--
2021-08-02 06:58
rpl_rli.h
31.91
KB
-rw-r--r--
2021-08-02 06:58
rpl_tblmap.h
3.1
KB
-rw-r--r--
2021-08-02 06:58
rpl_utility.h
9.32
KB
-rw-r--r--
2021-08-02 06:58
scheduler.h
3.4
KB
-rw-r--r--
2021-08-02 06:58
semisync.h
2.23
KB
-rw-r--r--
2021-08-02 06:58
semisync_master.h
21.49
KB
-rw-r--r--
2021-08-02 06:58
semisync_master_ack_receiver.h
5.73
KB
-rw-r--r--
2021-08-02 06:58
semisync_slave.h
3.44
KB
-rw-r--r--
2021-08-02 06:58
service_versions.h
1.82
KB
-rw-r--r--
2021-08-02 06:58
session_tracker.h
12.8
KB
-rw-r--r--
2021-08-02 06:58
set_var.h
15.37
KB
-rw-r--r--
2021-08-02 06:58
slave.h
11.51
KB
-rw-r--r--
2021-08-02 06:58
source_revision.h
67
B
-rw-r--r--
2021-08-02 06:59
sp.h
21.84
KB
-rw-r--r--
2021-08-02 06:58
sp_cache.h
2
KB
-rw-r--r--
2021-08-02 06:58
sp_head.h
57.9
KB
-rw-r--r--
2021-08-02 06:58
sp_pcontext.h
23.65
KB
-rw-r--r--
2021-08-02 06:58
sp_rcontext.h
14
KB
-rw-r--r--
2021-08-02 06:58
span.h
3.83
KB
-rw-r--r--
2021-08-02 06:58
spatial.h
20.68
KB
-rw-r--r--
2021-08-02 06:58
sql_acl.h
17.79
KB
-rw-r--r--
2021-08-02 06:58
sql_admin.h
2.69
KB
-rw-r--r--
2021-08-02 06:58
sql_alloc.h
1.88
KB
-rw-r--r--
2021-08-02 06:58
sql_alter.h
11.5
KB
-rw-r--r--
2021-08-02 06:58
sql_analyse.h
10.91
KB
-rw-r--r--
2021-08-02 06:58
sql_analyze_stmt.h
7.61
KB
-rw-r--r--
2021-08-02 06:58
sql_array.h
6.05
KB
-rw-r--r--
2021-08-02 06:58
sql_audit.h
13.55
KB
-rw-r--r--
2021-08-02 06:58
sql_base.h
24.82
KB
-rw-r--r--
2021-08-02 06:58
sql_basic_types.h
951
B
-rw-r--r--
2021-08-02 06:58
sql_binlog.h
895
B
-rw-r--r--
2021-08-02 06:58
sql_bitmap.h
7.22
KB
-rw-r--r--
2021-08-02 06:58
sql_bootstrap.h
1.63
KB
-rw-r--r--
2021-08-02 06:58
sql_cache.h
21.09
KB
-rw-r--r--
2021-08-02 06:58
sql_callback.h
1.51
KB
-rw-r--r--
2021-08-02 06:58
sql_class.h
216.88
KB
-rw-r--r--
2021-08-02 06:58
sql_cmd.h
8.59
KB
-rw-r--r--
2021-08-09 09:49
sql_connect.h
3.72
KB
-rw-r--r--
2021-08-02 06:58
sql_const.h
10.67
KB
-rw-r--r--
2021-08-02 06:58
sql_crypt.h
1.39
KB
-rw-r--r--
2021-08-02 06:58
sql_cte.h
15.47
KB
-rw-r--r--
2021-08-02 06:58
sql_cursor.h
2.18
KB
-rw-r--r--
2021-08-02 06:58
sql_db.h
2.16
KB
-rw-r--r--
2021-08-02 06:58
sql_delete.h
1.37
KB
-rw-r--r--
2021-08-02 06:58
sql_derived.h
1.13
KB
-rw-r--r--
2021-08-02 06:58
sql_digest.h
3.73
KB
-rw-r--r--
2021-08-02 06:58
sql_digest_stream.h
1.53
KB
-rw-r--r--
2021-08-02 06:58
sql_do.h
954
B
-rw-r--r--
2021-08-02 06:58
sql_error.h
36.51
KB
-rw-r--r--
2021-08-02 06:58
sql_explain.h
24.83
KB
-rw-r--r--
2021-08-02 06:58
sql_expression_cache.h
4.1
KB
-rw-r--r--
2021-08-02 06:58
sql_get_diagnostics.h
7.66
KB
-rw-r--r--
2021-08-02 06:58
sql_handler.h
2.8
KB
-rw-r--r--
2021-08-02 06:58
sql_help.h
920
B
-rw-r--r--
2021-08-02 06:58
sql_hset.h
3.17
KB
-rw-r--r--
2021-08-02 06:58
sql_insert.h
2.1
KB
-rw-r--r--
2021-08-02 06:58
sql_join_cache.h
46.88
KB
-rw-r--r--
2021-08-02 06:58
sql_lex.h
139.04
KB
-rw-r--r--
2021-08-02 06:58
sql_lifo_buffer.h
9.25
KB
-rw-r--r--
2021-08-02 06:58
sql_list.h
20.18
KB
-rw-r--r--
2021-08-02 06:58
sql_load.h
1.25
KB
-rw-r--r--
2021-08-02 06:58
sql_locale.h
2.61
KB
-rw-r--r--
2021-08-02 06:58
sql_manager.h
960
B
-rw-r--r--
2021-08-02 06:58
sql_mode.h
6.57
KB
-rw-r--r--
2021-08-02 06:58
sql_parse.h
8.17
KB
-rw-r--r--
2021-08-02 06:58
sql_partition.h
12.31
KB
-rw-r--r--
2021-08-02 06:58
sql_partition_admin.h
5.68
KB
-rw-r--r--
2021-08-02 06:58
sql_plist.h
7.55
KB
-rw-r--r--
2021-08-02 06:58
sql_plugin.h
7.4
KB
-rw-r--r--
2021-08-02 06:58
sql_plugin_compat.h
2.18
KB
-rw-r--r--
2021-08-02 06:58
sql_prepare.h
10.99
KB
-rw-r--r--
2021-08-02 06:58
sql_priv.h
16.22
KB
-rw-r--r--
2021-08-02 06:58
sql_profile.h
7.39
KB
-rw-r--r--
2021-08-02 06:58
sql_reload.h
1.01
KB
-rw-r--r--
2021-08-02 06:58
sql_rename.h
941
B
-rw-r--r--
2021-08-02 06:58
sql_repl.h
3.24
KB
-rw-r--r--
2021-08-02 06:58
sql_schema.h
2.42
KB
-rw-r--r--
2021-08-02 06:58
sql_select.h
81.93
KB
-rw-r--r--
2021-08-02 06:58
sql_sequence.h
4.94
KB
-rw-r--r--
2021-08-02 06:58
sql_servers.h
1.74
KB
-rw-r--r--
2021-08-02 06:58
sql_show.h
9.11
KB
-rw-r--r--
2021-08-02 06:58
sql_signal.h
3.26
KB
-rw-r--r--
2021-08-02 06:58
sql_sort.h
4.12
KB
-rw-r--r--
2021-08-02 06:58
sql_statistics.h
11.14
KB
-rw-r--r--
2021-08-02 06:58
sql_string.h
23.68
KB
-rw-r--r--
2021-08-02 06:58
sql_table.h
11.06
KB
-rw-r--r--
2021-08-02 06:58
sql_tablespace.h
956
B
-rw-r--r--
2021-08-02 06:58
sql_test.h
1.45
KB
-rw-r--r--
2021-08-02 06:58
sql_time.h
10.45
KB
-rw-r--r--
2021-08-02 06:58
sql_trigger.h
10.7
KB
-rw-r--r--
2021-08-02 06:58
sql_truncate.h
2.01
KB
-rw-r--r--
2021-08-02 06:58
sql_tvc.h
2.17
KB
-rw-r--r--
2021-08-02 06:58
sql_type.h
143.78
KB
-rw-r--r--
2021-08-02 06:58
sql_type_int.h
3.32
KB
-rw-r--r--
2021-08-02 06:58
sql_type_real.h
1.23
KB
-rw-r--r--
2021-08-02 06:58
sql_udf.h
4.06
KB
-rw-r--r--
2021-08-02 06:58
sql_union.h
1.04
KB
-rw-r--r--
2021-08-02 06:58
sql_update.h
1.88
KB
-rw-r--r--
2021-08-02 06:58
sql_view.h
2.28
KB
-rw-r--r--
2021-08-02 06:58
sql_window.h
6.44
KB
-rw-r--r--
2021-08-02 06:58
ssl_compat.h
2.97
KB
-rw-r--r--
2021-08-02 06:58
strfunc.h
2.2
KB
-rw-r--r--
2021-08-02 06:58
structs.h
23.35
KB
-rw-r--r--
2021-08-02 06:58
sys_vars_shared.h
2.6
KB
-rw-r--r--
2021-08-02 06:58
t_ctype.h
5.51
KB
-rw-r--r--
2021-08-02 06:58
table.h
105.03
KB
-rw-r--r--
2021-08-02 06:58
table_cache.h
4.27
KB
-rw-r--r--
2021-08-02 06:58
thr_alarm.h
2.87
KB
-rw-r--r--
2021-08-02 06:58
thr_lock.h
6.66
KB
-rw-r--r--
2021-08-02 06:58
thr_malloc.h
1.18
KB
-rw-r--r--
2021-08-02 06:58
thr_timer.h
1.43
KB
-rw-r--r--
2021-08-02 06:58
thread_pool_priv.h
4.44
KB
-rw-r--r--
2021-08-02 06:58
threadpool.h
4.34
KB
-rw-r--r--
2021-08-02 06:58
transaction.h
1.55
KB
-rw-r--r--
2021-08-02 06:58
tzfile.h
4.9
KB
-rw-r--r--
2021-08-02 06:58
tztime.h
3.28
KB
-rw-r--r--
2021-08-02 06:58
uniques.h
4.05
KB
-rw-r--r--
2021-08-02 06:58
unireg.h
7.42
KB
-rw-r--r--
2021-08-02 06:58
vers_string.h
2.67
KB
-rw-r--r--
2021-08-02 06:58
vers_utils.h
1.22
KB
-rw-r--r--
2021-08-02 06:58
violite.h
10.01
KB
-rw-r--r--
2021-08-02 06:58
waiting_threads.h
4.43
KB
-rw-r--r--
2021-08-02 06:58
welcome_copyright_notice.h
1.19
KB
-rw-r--r--
2021-08-02 06:58
win_tzname_data.h
6.31
KB
-rw-r--r--
2021-08-02 06:58
winservice.h
1.17
KB
-rw-r--r--
2021-08-02 06:58
wqueue.h
1.53
KB
-rw-r--r--
2021-08-02 06:58
wsrep.h
3.09
KB
-rw-r--r--
2021-08-02 06:58
wsrep_applier.h
1.67
KB
-rw-r--r--
2021-08-02 06:58
wsrep_binlog.h
2.06
KB
-rw-r--r--
2021-08-02 06:58
wsrep_mysqld.h
13.86
KB
-rw-r--r--
2021-08-02 06:58
wsrep_mysqld_c.h
1.2
KB
-rw-r--r--
2021-08-02 06:58
wsrep_priv.h
2.07
KB
-rw-r--r--
2021-08-02 06:58
wsrep_sst.h
3.21
KB
-rw-r--r--
2021-08-02 06:58
wsrep_thd.h
2.05
KB
-rw-r--r--
2021-08-02 06:58
wsrep_utils.h
9.02
KB
-rw-r--r--
2021-08-02 06:58
wsrep_var.h
3.72
KB
-rw-r--r--
2021-08-02 06:58
wsrep_xid.h
1.38
KB
-rw-r--r--
2021-08-02 06:58
Save
Rename
/* Copyright (c) 2006, 2012, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA */ #ifndef RPL_MI_H #define RPL_MI_H #ifdef HAVE_REPLICATION #include "rpl_rli.h" #include "rpl_reporting.h" #include <my_sys.h> #include "rpl_filter.h" #include "keycaches.h" typedef struct st_mysql MYSQL; /** Domain id based filter to handle DO_DOMAIN_IDS and IGNORE_DOMAIN_IDS used to set filtering on replication slave based on event's GTID domain_id. */ class Domain_id_filter { private: /* Flag to tell whether the events in the current GTID group get written to the relay log. It is set according to the domain_id based filtering rule on every GTID_EVENT and reset at the end of current GTID event group. */ bool m_filter; /* DO_DOMAIN_IDS (0): Ignore all the events which do not belong to any of the domain ids in the list. IGNORE_DOMAIN_IDS (1): Ignore the events which belong to one of the domain ids in the list. */ DYNAMIC_ARRAY m_domain_ids[2]; public: /* domain id list types */ enum enum_list_type { DO_DOMAIN_IDS= 0, IGNORE_DOMAIN_IDS }; Domain_id_filter(); ~Domain_id_filter(); /* Returns whether the current group needs to be filtered. */ bool is_group_filtered() { return m_filter; } /* Checks whether the group with the specified domain_id needs to be filtered and updates m_filter flag accordingly. */ void do_filter(ulong domain_id); /* Reset m_filter. It should be called when IO thread receives COMMIT_EVENT or XID_EVENT. */ void reset_filter(); /* Update the do/ignore domain id filter lists. @param do_ids [IN] domain ids to be kept @param ignore_ids [IN] domain ids to be filtered out @param using_gtid [IN] use GTID? @retval false Success true Error */ bool update_ids(DYNAMIC_ARRAY *do_ids, DYNAMIC_ARRAY *ignore_ids, bool using_gtid); /* Serialize and store the ids from domain id lists into the thd's protocol buffer. @param thd [IN] thread handler @retval void */ void store_ids(THD *thd); /* Initialize the given domain id list (DYNAMIC_ARRAY) with the space-separated list of numbers from the specified IO_CACHE where the first number is the total number of entries to follows. @param f [IN] IO_CACHE file @param type [IN] domain id list type @retval false Success true Error */ bool init_ids(IO_CACHE *f, enum_list_type type); /* Return the elements of the give domain id list type as string. @param type [IN] domain id list type @retval a string buffer storing the total number of elements followed by the individual elements (space-separated) in the specified list. Note: Its caller's responsibility to free the returned string buffer. */ char *as_string(enum_list_type type); }; extern TYPELIB slave_parallel_mode_typelib; typedef struct st_rows_event_tracker { char binlog_file_name[FN_REFLEN]; my_off_t first_seen; my_off_t last_seen; bool stmt_end_seen; void update(const char* file_name, my_off_t pos, const char* buf, const Format_description_log_event *fdle); void reset(); bool check_and_report(const char* file_name, my_off_t pos); } Rows_event_tracker; /***************************************************************************** Replication IO Thread Master_info contains: - information about how to connect to a master - current master log name - current master log offset - misc control variables Master_info is initialized once from the master.info file if such exists. Otherwise, data members corresponding to master.info fields are initialized with defaults specified by master-* options. The initialization is done through init_master_info() call. The format of master.info file: log_name log_pos master_host master_user master_pass master_port master_connect_retry To write out the contents of master.info file to disk ( needed every time we read and queue data from the master ), a call to flush_master_info() is required. To clean up, call end_master_info() *****************************************************************************/ class Master_info : public Slave_reporting_capability { public: enum enum_using_gtid { USE_GTID_NO= 0, USE_GTID_CURRENT_POS= 1, USE_GTID_SLAVE_POS= 2 }; Master_info(LEX_CSTRING *connection_name, bool is_slave_recovery); ~Master_info(); bool shall_ignore_server_id(ulong s_id); void clear_in_memory_info(bool all); bool error() { /* If malloc() in initialization failed */ return connection_name.str == 0; } static const char *using_gtid_astext(enum enum_using_gtid arg); bool using_parallel() { return opt_slave_parallel_threads > 0 && parallel_mode > SLAVE_PARALLEL_NONE; } void release(); void wait_until_free(); void lock_slave_threads(); void unlock_slave_threads(); /* the variables below are needed because we can change masters on the fly */ char master_log_name[FN_REFLEN+6]; /* Room for multi-*/ char host[HOSTNAME_LENGTH*SYSTEM_CHARSET_MBMAXLEN+1]; char user[USERNAME_LENGTH+1]; char password[MAX_PASSWORD_LENGTH*SYSTEM_CHARSET_MBMAXLEN+1]; LEX_CSTRING connection_name; /* User supplied connection name */ LEX_CSTRING cmp_connection_name; /* Connection name in lower case */ bool ssl; // enables use of SSL connection if true char ssl_ca[FN_REFLEN], ssl_capath[FN_REFLEN], ssl_cert[FN_REFLEN]; char ssl_cipher[FN_REFLEN], ssl_key[FN_REFLEN]; char ssl_crl[FN_REFLEN], ssl_crlpath[FN_REFLEN]; bool ssl_verify_server_cert; my_off_t master_log_pos; File fd; // we keep the file open, so we need to remember the file pointer IO_CACHE file; mysql_mutex_t data_lock, run_lock, sleep_lock, start_stop_lock; mysql_cond_t data_cond, start_cond, stop_cond, sleep_cond; THD *io_thd; MYSQL* mysql; uint32 file_id; /* for 3.23 load data infile */ Relay_log_info rli; uint port; Rpl_filter* rpl_filter; /* Each replication can set its filter rule*/ /* to hold checksum alg in use until IO thread has received FD. Initialized to novalue, then set to the queried from master @@global.binlog_checksum and deactivated once FD has been received. */ enum enum_binlog_checksum_alg checksum_alg_before_fd; uint connect_retry; #ifndef DBUG_OFF int events_till_disconnect; /* The following are auxiliary DBUG variables used to kill IO thread in the middle of a group/transaction (see "kill_slave_io_after_2_events"). */ bool dbug_do_disconnect; int dbug_event_counter; #endif bool inited; volatile bool abort_slave; volatile uint slave_running; volatile ulong slave_run_id; /* The difference in seconds between the clock of the master and the clock of the slave (second - first). It must be signed as it may be <0 or >0. clock_diff_with_master is computed when the I/O thread starts; for this the I/O thread does a SELECT UNIX_TIMESTAMP() on the master. "how late the slave is compared to the master" is computed like this: clock_of_slave - last_timestamp_executed_by_SQL_thread - clock_diff_with_master */ long clock_diff_with_master; /* Keeps track of the number of events before fsyncing. The option --sync-master-info determines how many events should happen before fsyncing. */ uint sync_counter; float heartbeat_period; // interface with CHANGE MASTER or master.info ulonglong received_heartbeats; // counter of received heartbeat events DYNAMIC_ARRAY ignore_server_ids; ulong master_id; /* At reconnect and until the first rotate event is seen, prev_master_id is the value of master_id during the previous connection, used to detect silent change of master server during reconnects. */ ulong prev_master_id; /* Which kind of GTID position (if any) is used when connecting to master. Note that you can not change the numeric values of these, they are used in master.info. */ enum enum_using_gtid using_gtid; /* This GTID position records how far we have fetched into the relay logs. This is used to continue fetching when the IO thread reconnects to the master. (Full slave stop/start does not use it, as it resets the relay logs). */ slave_connection_state gtid_current_pos; /* If events_queued_since_last_gtid is non-zero, it is the number of events queued so far in the relaylog of a GTID-prefixed event group. It is zero when no partial event group has been queued at the moment. */ uint64 events_queued_since_last_gtid; /* The GTID of the partially-queued event group, when events_queued_since_last_gtid is non-zero. */ rpl_gtid last_queued_gtid; /* Whether last_queued_gtid had the FL_STANDALONE flag set. */ bool last_queued_gtid_standalone; /* When slave IO thread needs to reconnect, gtid_reconnect_event_skip_count counts number of events to skip from the first GTID-prefixed event group, to avoid duplicating events in the relay log. */ uint64 gtid_reconnect_event_skip_count; /* gtid_event_seen is false until we receive first GTID event from master. */ bool gtid_event_seen; /** The struct holds some history of Rows- log-event reading/queuing by the receiver thread. Its fields are updated per each such event at time of queue_event(), and they are checked to detect the Rows- event group integrity violation at time of first non-Rows- event gets handled. */ Rows_event_tracker rows_event_tracker; bool in_start_all_slaves, in_stop_all_slaves; bool in_flush_all_relay_logs; uint users; /* Active user for object */ uint killed; /* No of DDL event group */ volatile uint64 total_ddl_groups; /* No of non-transactional event group*/ volatile uint64 total_non_trans_groups; /* No of transactional event group*/ volatile uint64 total_trans_groups; /* domain-id based filter */ Domain_id_filter domain_id_filter; /* The parallel replication mode. */ enum_slave_parallel_mode parallel_mode; /* semi_ack is used to identify if the current binlog event needs an ACK from slave, or if delay_master is enabled. */ int semi_ack; }; int init_master_info(Master_info* mi, const char* master_info_fname, const char* slave_info_fname, bool abort_if_no_master_info_file, int thread_mask); void end_master_info(Master_info* mi); int flush_master_info(Master_info* mi, bool flush_relay_log_cache, bool need_lock_relay_log); void copy_filter_setting(Rpl_filter* dst_filter, Rpl_filter* src_filter); void update_change_master_ids(DYNAMIC_ARRAY *new_ids, DYNAMIC_ARRAY *old_ids); void prot_store_ids(THD *thd, DYNAMIC_ARRAY *ids); /* Multi master are handled trough this struct. Changes to this needs to be protected by LOCK_active_mi; */ class Master_info_index { private: IO_CACHE index_file; char index_file_name[FN_REFLEN]; public: Master_info_index(); ~Master_info_index(); HASH master_info_hash; bool init_all_master_info(); bool write_master_name_to_index_file(LEX_CSTRING *connection_name, bool do_sync); bool check_duplicate_master_info(LEX_CSTRING *connection_name, const char *host, uint port); bool add_master_info(Master_info *mi, bool write_to_file); bool remove_master_info(Master_info *mi); Master_info *get_master_info(const LEX_CSTRING *connection_name, Sql_condition::enum_warning_level warning); bool start_all_slaves(THD *thd); bool stop_all_slaves(THD *thd); void free_connections(); bool flush_all_relay_logs(); }; /* The class rpl_io_thread_info is the THD::system_thread_info for the IO thread. */ class rpl_io_thread_info { public: }; Master_info *get_master_info(const LEX_CSTRING *connection_name, Sql_condition::enum_warning_level warning); bool check_master_connection_name(LEX_CSTRING *name); void create_logfile_name_with_suffix(char *res_file_name, size_t length, const char *info_file, bool append, LEX_CSTRING *suffix); uchar *get_key_master_info(Master_info *mi, size_t *length, my_bool not_used __attribute__((unused))); void free_key_master_info(Master_info *mi); uint any_slave_sql_running(bool already_locked); bool give_error_if_slave_running(bool already_lock); #endif /* HAVE_REPLICATION */ #endif /* RPL_MI_H */