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 2008-2015 Codership Oy <http://www.codership.com> 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 Street, Fifth Floor, Boston, MA 02110-1335 USA */ #include <wsrep.h> #ifndef WSREP_MYSQLD_H #define WSREP_MYSQLD_H #include <mysql/plugin.h> #include <mysql/service_wsrep.h> #ifdef WITH_WSREP typedef struct st_mysql_show_var SHOW_VAR; #include <sql_priv.h> //#include "rpl_gtid.h" #include "../wsrep/wsrep_api.h" #include "mdl.h" #include "mysqld.h" #include "sql_table.h" #include "wsrep_mysqld_c.h" #include <vector> #define WSREP_UNDEFINED_TRX_ID ULONGLONG_MAX class set_var; class THD; enum wsrep_consistency_check_mode { NO_CONSISTENCY_CHECK, CONSISTENCY_CHECK_DECLARED, CONSISTENCY_CHECK_RUNNING, }; struct wsrep_thd_shadow { ulonglong options; uint server_status; enum wsrep_exec_mode wsrep_exec_mode; Vio *vio; ulong tx_isolation; const char *db; size_t db_length; my_hrtime_t user_time; longlong row_count_func; }; // Global wsrep parameters extern wsrep_t* wsrep; // MySQL wsrep options extern const char* wsrep_provider; extern const char* wsrep_provider_options; extern const char* wsrep_cluster_name; extern const char* wsrep_cluster_address; extern const char* wsrep_node_name; extern const char* wsrep_node_address; extern const char* wsrep_node_incoming_address; extern const char* wsrep_data_home_dir; extern const char* wsrep_dbug_option; extern long wsrep_slave_threads; extern int wsrep_slave_count_change; extern my_bool wsrep_convert_LOCK_to_trx; extern ulong wsrep_retry_autocommit; extern my_bool wsrep_auto_increment_control; extern my_bool wsrep_incremental_data_collection; extern const char* wsrep_start_position; extern ulong wsrep_max_ws_size; extern ulong wsrep_max_ws_rows; extern const char* wsrep_notify_cmd; extern long wsrep_max_protocol_version; extern ulong wsrep_forced_binlog_format; extern my_bool wsrep_desync; extern ulong wsrep_reject_queries; extern my_bool wsrep_replicate_myisam; extern ulong wsrep_mysql_replication_bundle; extern my_bool wsrep_restart_slave; extern my_bool wsrep_restart_slave_activated; extern my_bool wsrep_slave_FK_checks; extern my_bool wsrep_slave_UK_checks; extern ulong wsrep_running_threads; extern ulong wsrep_running_applier_threads; extern ulong wsrep_running_rollbacker_threads; extern bool wsrep_new_cluster; extern bool wsrep_gtid_mode; extern uint32 wsrep_gtid_domain_id; enum enum_wsrep_reject_types { WSREP_REJECT_NONE, /* nothing rejected */ WSREP_REJECT_ALL, /* reject all queries, with UNKNOWN_COMMAND error */ WSREP_REJECT_ALL_KILL /* kill existing connections and reject all queries*/ }; enum enum_wsrep_OSU_method { WSREP_OSU_TOI, WSREP_OSU_RSU, WSREP_OSU_NONE, }; enum enum_wsrep_sync_wait { WSREP_SYNC_WAIT_NONE = 0x0, // select, begin WSREP_SYNC_WAIT_BEFORE_READ = 0x1, WSREP_SYNC_WAIT_BEFORE_UPDATE_DELETE = 0x2, WSREP_SYNC_WAIT_BEFORE_INSERT_REPLACE = 0x4, WSREP_SYNC_WAIT_BEFORE_SHOW = 0x8, WSREP_SYNC_WAIT_MAX = 0xF }; // MySQL status variables extern my_bool wsrep_connected; extern my_bool wsrep_ready; extern const char* wsrep_cluster_state_uuid; extern long long wsrep_cluster_conf_id; extern const char* wsrep_cluster_status; extern long wsrep_cluster_size; extern long wsrep_local_index; extern long long wsrep_local_bf_aborts; extern const char* wsrep_provider_name; extern const char* wsrep_provider_version; extern const char* wsrep_provider_vendor; int wsrep_show_status(THD *thd, SHOW_VAR *var, void *buff, system_status_var *status_var, enum_var_type scope); int wsrep_init(); void wsrep_deinit(bool free_options); /* Initialize wsrep thread LOCKs and CONDs */ void wsrep_thr_init(); /* Destroy wsrep thread LOCKs and CONDs */ void wsrep_thr_deinit(); void wsrep_recover(); bool wsrep_before_SE(); // initialize wsrep before storage // engines (true) or after (false) /* wsrep initialization sequence at startup * @param before wsrep_before_SE() value */ void wsrep_init_startup(bool before); // Other wsrep global variables extern my_bool wsrep_inited; // whether wsrep is initialized ? extern "C" void wsrep_thd_set_exec_mode(THD *thd, enum wsrep_exec_mode mode); extern "C" void wsrep_thd_set_query_state( THD *thd, enum wsrep_query_state state); extern "C" void wsrep_thd_set_trx_to_replay(THD *thd, uint64 trx_id); extern "C" uint32 wsrep_thd_wsrep_rand(THD *thd); extern "C" time_t wsrep_thd_query_start(THD *thd); extern "C" query_id_t wsrep_thd_query_id(THD *thd); extern "C" query_id_t wsrep_thd_wsrep_last_query_id(THD *thd); extern "C" void wsrep_thd_set_wsrep_last_query_id(THD *thd, query_id_t id); extern int wsrep_wait_committing_connections_close(int wait_time); extern void wsrep_close_applier(THD *thd); extern void wsrep_wait_appliers_close(THD *thd); extern void wsrep_close_applier_threads(int count); extern void wsrep_kill_mysql(THD *thd); /* new defines */ extern void wsrep_stop_replication(THD *thd); extern bool wsrep_start_replication(); extern bool wsrep_must_sync_wait(THD* thd, uint mask = WSREP_SYNC_WAIT_BEFORE_READ); extern bool wsrep_sync_wait(THD* thd, uint mask = WSREP_SYNC_WAIT_BEFORE_READ); extern int wsrep_check_opts(); extern void wsrep_prepend_PATH (const char* path); /* Other global variables */ extern wsrep_seqno_t wsrep_locked_seqno; #define WSREP_ON unlikely(global_system_variables.wsrep_on) #define WSREP(thd) \ (WSREP_ON && thd->variables.wsrep_on) #define WSREP_CLIENT(thd) \ (WSREP(thd) && thd->wsrep_client_thread) #define WSREP_EMULATE_BINLOG(thd) \ (WSREP(thd) && wsrep_emulate_bin_log) #define WSREP_FORMAT(my_format) \ ((wsrep_forced_binlog_format != BINLOG_FORMAT_UNSPEC) \ ? wsrep_forced_binlog_format : (ulong)(my_format)) // prefix all messages with "WSREP" void wsrep_log(void (*fun)(const char *, ...), const char *format, ...); #define WSREP_LOG(fun, ...) wsrep_log(fun, ## __VA_ARGS__) #define WSREP_LOG_CONFLICT_THD(thd, role) \ WSREP_LOG(sql_print_information, \ "%s: \n " \ " THD: %lu, mode: %s, state: %s, conflict: %s, seqno: %lld\n " \ " SQL: %s", \ role, thd_get_thread_id(thd), wsrep_thd_exec_mode_str(thd), \ wsrep_thd_query_state_str(thd), \ wsrep_thd_conflict_state_str(thd), (long long)wsrep_thd_trx_seqno(thd), \ wsrep_thd_query(thd) \ ); #define WSREP_LOG_CONFLICT(bf_thd, victim_thd, bf_abort) \ if (wsrep_debug || wsrep_log_conflicts) \ { \ WSREP_LOG(sql_print_information, "cluster conflict due to %s for threads:",\ (bf_abort) ? "high priority abort" : "certification failure" \ ); \ if (bf_thd != NULL) WSREP_LOG_CONFLICT_THD(bf_thd, "Winning thread"); \ if (victim_thd) WSREP_LOG_CONFLICT_THD(victim_thd, "Victim thread"); \ } #define WSREP_PROVIDER_EXISTS \ (wsrep_provider && strncasecmp(wsrep_provider, WSREP_NONE, FN_REFLEN)) #define WSREP_QUERY(thd) (thd->query()) extern my_bool wsrep_ready_get(); extern void wsrep_ready_wait(); class Ha_trx_info; struct THD_TRANS; void wsrep_register_hton(THD* thd, bool all); void wsrep_brute_force_killer(THD *thd); int wsrep_hire_brute_force_killer(THD *thd, uint64_t trx_id); /* this is visible for client build so that innodb plugin gets this */ typedef struct wsrep_aborting_thd { struct wsrep_aborting_thd *next; THD *aborting_thd; } *wsrep_aborting_thd_t; extern mysql_mutex_t LOCK_wsrep_ready; extern mysql_cond_t COND_wsrep_ready; extern mysql_mutex_t LOCK_wsrep_sst; extern mysql_cond_t COND_wsrep_sst; extern mysql_mutex_t LOCK_wsrep_sst_init; extern mysql_cond_t COND_wsrep_sst_init; extern mysql_mutex_t LOCK_wsrep_rollback; extern mysql_cond_t COND_wsrep_rollback; extern int wsrep_replaying; extern mysql_mutex_t LOCK_wsrep_replaying; extern mysql_cond_t COND_wsrep_replaying; extern mysql_mutex_t LOCK_wsrep_slave_threads; extern mysql_mutex_t LOCK_wsrep_desync; extern mysql_mutex_t LOCK_wsrep_config_state; extern wsrep_aborting_thd_t wsrep_aborting_thd; extern my_bool wsrep_emulate_bin_log; extern int wsrep_to_isolation; #ifdef GTID_SUPPORT extern rpl_sidno wsrep_sidno; #endif /* GTID_SUPPORT */ extern my_bool wsrep_preordered_opt; extern handlerton *wsrep_hton; #ifdef HAVE_PSI_INTERFACE extern PSI_mutex_key key_LOCK_wsrep_ready; extern PSI_mutex_key key_COND_wsrep_ready; extern PSI_mutex_key key_LOCK_wsrep_sst; extern PSI_cond_key key_COND_wsrep_sst; extern PSI_mutex_key key_LOCK_wsrep_sst_init; extern PSI_cond_key key_COND_wsrep_sst_init; extern PSI_mutex_key key_LOCK_wsrep_sst_thread; extern PSI_cond_key key_COND_wsrep_sst_thread; extern PSI_mutex_key key_LOCK_wsrep_rollback; extern PSI_cond_key key_COND_wsrep_rollback; extern PSI_mutex_key key_LOCK_wsrep_replaying; extern PSI_cond_key key_COND_wsrep_replaying; extern PSI_mutex_key key_LOCK_wsrep_slave_threads; extern PSI_mutex_key key_LOCK_wsrep_desync; extern PSI_file_key key_file_wsrep_gra_log; extern PSI_thread_key key_wsrep_sst_joiner; extern PSI_thread_key key_wsrep_sst_donor; extern PSI_thread_key key_wsrep_rollbacker; extern PSI_thread_key key_wsrep_applier; #endif /* HAVE_PSI_INTERFACE */ struct TABLE_LIST; class Alter_info; int wsrep_to_isolation_begin(THD *thd, const char *db_, const char *table_, const TABLE_LIST* table_list, Alter_info* alter_info = NULL); void wsrep_to_isolation_end(THD *thd); void wsrep_cleanup_transaction(THD *thd); int wsrep_to_buf_helper( THD* thd, const char *query, uint query_len, uchar** buf, size_t* buf_len); int wsrep_create_event_query(THD *thd, uchar** buf, size_t* buf_len); extern bool wsrep_grant_mdl_exception(MDL_context *requestor_ctx, MDL_ticket *ticket, const MDL_key *key); IO_CACHE * get_trans_log(THD * thd); bool wsrep_trans_cache_is_empty(THD *thd); void thd_binlog_flush_pending_rows_event(THD *thd, bool stmt_end); void thd_binlog_rollback_stmt(THD * thd); void thd_binlog_trx_reset(THD * thd); enum wsrep_thread_type { WSREP_APPLIER_THREAD=1, WSREP_ROLLBACKER_THREAD=2 }; typedef void (*wsrep_thd_processor_fun)(THD *); typedef struct { pthread_t thread_id; wsrep_thd_processor_fun processor; enum wsrep_thread_type thread_type; } wsrep_thread_args; extern std::vector<wsrep_thread_args*> wsrep_thread_arg; pthread_handler_t start_wsrep_THD(void *arg); int wsrep_wait_committing_connections_close(int wait_time); extern void wsrep_close_client_connections(my_bool wait_to_end, THD *except_caller_thd = NULL); void wsrep_close_applier(THD *thd); void wsrep_close_applier_threads(int count); void wsrep_wait_appliers_close(THD *thd); void wsrep_kill_mysql(THD *thd); void wsrep_close_threads(THD *thd); void wsrep_copy_query(THD *thd); bool wsrep_is_show_query(enum enum_sql_command command); void wsrep_replay_transaction(THD *thd); bool wsrep_create_like_table(THD* thd, TABLE_LIST* table, TABLE_LIST* src_table, HA_CREATE_INFO *create_info); bool wsrep_node_is_donor(); bool wsrep_node_is_synced(); typedef struct wsrep_key_arr { wsrep_key_t* keys; size_t keys_len; } wsrep_key_arr_t; bool wsrep_prepare_keys_for_isolation(THD* thd, const char* db, const char* table, const TABLE_LIST* table_list, wsrep_key_arr_t* ka); void wsrep_keys_free(wsrep_key_arr_t* key_arr); #define WSREP_BINLOG_FORMAT(my_format) \ ((wsrep_forced_binlog_format != BINLOG_FORMAT_UNSPEC) ? \ wsrep_forced_binlog_format : my_format) #else /* WITH_WSREP */ #define WSREP(T) (0) #define WSREP_ON (0) #define WSREP_EMULATE_BINLOG(thd) (0) #define WSREP_CLIENT(thd) (0) #define WSREP_FORMAT(my_format) ((ulong)my_format) #define WSREP_PROVIDER_EXISTS (0) #define wsrep_emulate_bin_log (0) #define wsrep_to_isolation (0) #define wsrep_init() (1) #define wsrep_prepend_PATH(X) #define wsrep_before_SE() (0) #define wsrep_init_startup(X) #define wsrep_must_sync_wait(...) (0) #define wsrep_sync_wait(...) (0) #define wsrep_to_isolation_begin(...) (0) #define wsrep_register_hton(...) do { } while(0) #define wsrep_check_opts() (0) #define wsrep_stop_replication(X) do { } while(0) #define wsrep_inited (0) #define wsrep_deinit(X) do { } while(0) #define wsrep_recover() do { } while(0) #define wsrep_slave_threads (1) #define wsrep_replicate_myisam (0) #define wsrep_thr_init() do {} while(0) #define wsrep_thr_deinit() do {} while(0) #define wsrep_running_threads (0) #define WSREP_BINLOG_FORMAT(my_format) my_format #endif /* WITH_WSREP */ #endif /* WSREP_MYSQLD_H */