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
6c27730a
Commit
6c27730a
authored
Nov 03, 2011
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename binlog_dbug_fsync_sleep -> debug_binlog_fsync_sleep
parent
fb43946d
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
20 deletions
+12
-20
sql/log.cc
sql/log.cc
+1
-18
sql/mysql_priv.h
sql/mysql_priv.h
+1
-1
sql/mysqld.cc
sql/mysqld.cc
+7
-1
sql/set_var.cc
sql/set_var.cc
+3
-0
No files found.
sql/log.cc
View file @
6c27730a
...
...
@@ -70,7 +70,7 @@ static LEX_STRING const write_error_msg=
static
my_bool
opt_optimize_thread_scheduling
=
TRUE
;
ulong
binlog_checksum_options
;
#ifndef DBUG_OFF
static
ulong
opt_binlog_dbug_fsync_sleep
=
0
;
ulong
opt_binlog_dbug_fsync_sleep
=
0
;
#endif
static
my_bool
mutexes_inited
;
...
...
@@ -7067,27 +7067,10 @@ static MYSQL_SYSVAR_ENUM(
BINLOG_CHECKSUM_ALG_OFF
,
&
binlog_checksum_typelib
);
#ifndef DBUG_OFF
static
MYSQL_SYSVAR_ULONG
(
dbug_fsync_sleep
,
opt_binlog_dbug_fsync_sleep
,
PLUGIN_VAR_RQCMDARG
,
"Extra sleep (in microseconds) to add to binlog fsync(), for debugging"
,
NULL
,
NULL
,
0
,
0
,
ULONG_MAX
,
0
);
#endif
static
struct
st_mysql_sys_var
*
binlog_sys_vars
[]
=
{
MYSQL_SYSVAR
(
optimize_thread_scheduling
),
MYSQL_SYSVAR
(
checksum
),
#ifndef DBUG_OFF
MYSQL_SYSVAR
(
dbug_fsync_sleep
),
#endif
NULL
};
...
...
sql/mysql_priv.h
View file @
6c27730a
...
...
@@ -2163,7 +2163,7 @@ extern ulong query_buff_size;
extern
ulong
max_prepared_stmt_count
,
prepared_stmt_count
;
extern
ulong
binlog_cache_size
,
open_files_limit
;
extern
ulonglong
max_binlog_cache_size
;
extern
ulong
max_binlog_size
,
max_relay_log_size
;
extern
ulong
max_binlog_size
,
max_relay_log_size
,
opt_binlog_dbug_fsync_sleep
;
extern
ulong
opt_binlog_rows_event_max_size
;
extern
my_bool
opt_master_verify_checksum
;
extern
my_bool
opt_slave_sql_verify_checksum
;
...
...
sql/mysqld.cc
View file @
6c27730a
...
...
@@ -6015,7 +6015,7 @@ enum options_mysqld
OPT_SQL_BIN_UPDATE_SAME
,
OPT_REPLICATE_DO_DB
,
OPT_REPLICATE_IGNORE_DB
,
OPT_LOG_SLAVE_UPDATES
,
OPT_BINLOG_DO_DB
,
OPT_BINLOG_IGNORE_DB
,
OPT_BINLOG_FORMAT
,
OPT_BINLOG_FORMAT
,
OPT_DEBUG_BINLOG_FSYNC_SLEEP
,
OPT_BINLOG_ANNOTATE_ROWS_EVENTS
,
OPT_REPLICATE_ANNOTATE_ROWS_EVENTS
,
#ifndef DBUG_OFF
...
...
@@ -6241,6 +6241,12 @@ struct my_option my_long_options[] =
{
"bind-address"
,
OPT_BIND_ADDRESS
,
"IP address to bind to."
,
&
my_bind_addr_str
,
&
my_bind_addr_str
,
0
,
GET_STR
,
REQUIRED_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
#ifndef DBUG_OFF
{
"debug-binlog-fsync-sleep"
,
OPT_DEBUG_BINLOG_FSYNC_SLEEP
,
"Extra sleep (in microseconds) to add to binlog fsync(), for debugging"
,
&
opt_binlog_dbug_fsync_sleep
,
&
opt_binlog_dbug_fsync_sleep
,
0
,
GET_ULONG
,
REQUIRED_ARG
,
0
,
0
,
ULONG_MAX
,
0
,
1
,
0
},
#endif
{
"binlog_format"
,
OPT_BINLOG_FORMAT
,
"Does not have any effect without '--log-bin'. "
"Tell the master the form of binary logging to use: either 'row' for "
...
...
sql/set_var.cc
View file @
6c27730a
...
...
@@ -265,6 +265,9 @@ static sys_var_thd_ulong sys_deadlock_timeout_long(&vars,
&
SV
::
wt_timeout_long
);
#ifndef DBUG_OFF
static
sys_var_thd_dbug
sys_dbug
(
&
vars
,
"debug"
);
static
sys_var_long_ptr
sys_var_debug_binlog_fsync_sleep
(
&
vars
,
"debug_binlog_fsync_sleep"
,
&
opt_binlog_dbug_fsync_sleep
);
#endif
static
sys_var_enum
sys_delay_key_write
(
&
vars
,
"delay_key_write"
,
&
delay_key_write_options
,
...
...
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