Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
e2602f4e
Commit
e2602f4e
authored
May 13, 2011
by
Mikael Ronstrom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed variables no longer needed in plugins, moved to methods instead
parent
e44579d2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
15 deletions
+10
-15
sql/mysqld.cc
sql/mysqld.cc
+6
-9
sql/mysqld.h
sql/mysqld.h
+4
-6
No files found.
sql/mysqld.cc
View file @
e2602f4e
...
...
@@ -447,7 +447,7 @@ uint lower_case_table_names;
ulong
tc_heuristic_recover
=
0
;
uint
volatile
thread_count
;
int32
thread_running
;
MYSQL_PLUGIN_IMPORT
ulong
thread_created
;
ulong
thread_created
;
ulong
back_log
,
connect_timeout
,
concurrency
,
server_id
;
ulong
table_cache_size
,
table_def_size
;
ulong
what_to_log
;
...
...
@@ -474,8 +474,7 @@ ulong delayed_insert_errors,flush_time;
ulong
specialflag
=
0
;
ulong
binlog_cache_use
=
0
,
binlog_cache_disk_use
=
0
;
ulong
binlog_stmt_cache_use
=
0
,
binlog_stmt_cache_disk_use
=
0
;
MYSQL_PLUGIN_IMPORT
ulong
max_connections
;
ulong
max_connect_errors
;
ulong
max_connections
,
max_connect_errors
;
/*
Maximum length of parameter value which can be set through
mysql_send_long_data() call.
...
...
@@ -583,7 +582,7 @@ Le_creator le_creator;
MYSQL_FILE
*
bootstrap_file
;
int
bootstrap_error
;
MYSQL_PLUGIN_IMPORT
I_List
<
THD
>
threads
;
I_List
<
THD
>
threads
;
Rpl_filter
*
rpl_filter
;
Rpl_filter
*
binlog_filter
;
...
...
@@ -632,9 +631,9 @@ mysql_mutex_t LOCK_des_key_file;
#endif
mysql_rwlock_t
LOCK_grant
,
LOCK_sys_init_connect
,
LOCK_sys_init_slave
;
mysql_rwlock_t
LOCK_system_variables_hash
;
MYSQL_PLUGIN_IMPORT
mysql_cond_t
COND_thread_count
;
mysql_cond_t
COND_thread_count
;
pthread_t
signal_thread
;
MYSQL_PLUGIN_IMPORT
pthread_attr_t
connection_attrib
;
pthread_attr_t
connection_attrib
;
mysql_mutex_t
LOCK_server_started
;
mysql_cond_t
COND_server_started
;
...
...
@@ -7871,9 +7870,7 @@ static PSI_cond_info all_server_conds[]=
PSI_thread_key
key_thread_bootstrap
,
key_thread_delayed_insert
,
key_thread_handle_manager
,
key_thread_main
,
key_thread_signal_hand
;
MYSQL_PLUGIN_IMPORT
PSI_thread_key
key_thread_one_connection
;
key_thread_one_connection
,
key_thread_signal_hand
;
static
PSI_thread_info
all_server_threads
[]
=
{
...
...
sql/mysqld.h
View file @
e2602f4e
...
...
@@ -206,12 +206,12 @@ extern struct my_option my_long_options[];
extern
int
mysqld_server_started
;
extern
"C"
MYSQL_PLUGIN_IMPORT
int
orig_argc
;
extern
"C"
MYSQL_PLUGIN_IMPORT
char
**
orig_argv
;
extern
MYSQL_PLUGIN_IMPORT
pthread_attr_t
connection_attrib
;
extern
pthread_attr_t
connection_attrib
;
extern
MYSQL_FILE
*
bootstrap_file
;
extern
my_bool
old_mode
;
extern
LEX_STRING
opt_init_connect
,
opt_init_slave
;
extern
int
bootstrap_error
;
extern
MYSQL_PLUGIN_IMPORT
I_List
<
THD
>
threads
;
extern
I_List
<
THD
>
threads
;
extern
char
err_shared_dir
[];
extern
TYPELIB
thread_handling_typelib
;
extern
my_decimal
decimal_zero
;
...
...
@@ -267,9 +267,7 @@ extern PSI_cond_key key_RELAYLOG_update_cond;
extern
PSI_thread_key
key_thread_bootstrap
,
key_thread_delayed_insert
,
key_thread_handle_manager
,
key_thread_kill_server
,
key_thread_main
,
key_thread_signal_hand
;
extern
MYSQL_PLUGIN_IMPORT
PSI_thread_key
key_thread_one_connection
;
key_thread_one_connection
,
key_thread_signal_hand
;
#ifdef HAVE_MMAP
extern
PSI_file_key
key_file_map
;
...
...
@@ -342,7 +340,7 @@ extern mysql_mutex_t LOCK_server_started;
extern
mysql_cond_t
COND_server_started
;
extern
mysql_rwlock_t
LOCK_grant
,
LOCK_sys_init_connect
,
LOCK_sys_init_slave
;
extern
mysql_rwlock_t
LOCK_system_variables_hash
;
extern
MYSQL_PLUGIN_IMPORT
mysql_cond_t
COND_thread_count
;
extern
mysql_cond_t
COND_thread_count
;
extern
mysql_cond_t
COND_manager
;
extern
int32
thread_running
;
extern
my_atomic_rwlock_t
thread_running_lock
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment