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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
8c534bde
Commit
8c534bde
authored
Apr 28, 2020
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup: remove dbug keywords that are never used
parent
59880df8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
33 deletions
+0
-33
sql/slave.cc
sql/slave.cc
+0
-33
No files found.
sql/slave.cc
View file @
8c534bde
...
...
@@ -3048,9 +3048,6 @@ pthread_handler_t handle_slave_io(void *arg)
uint
retry_count
;
bool
suppress_warnings
;
int
ret
;
#ifndef DBUG_OFF
uint
retry_count_reg
=
0
,
retry_count_dump
=
0
,
retry_count_event
=
0
;
#endif
// needs to call my_thread_init(), otherwise we get a coredump in DBUG_ stuff
my_thread_init
();
DBUG_ENTER
(
"handle_slave_io"
);
...
...
@@ -3182,16 +3179,6 @@ pthread_handler_t handle_slave_io(void *arg)
goto
err
;
goto
connected
;
}
DBUG_EXECUTE_IF
(
"FORCE_SLAVE_TO_RECONNECT_REG"
,
if
(
!
retry_count_reg
)
{
retry_count_reg
++
;
sql_print_information
(
"Forcing to reconnect slave I/O thread"
);
if
(
try_to_reconnect
(
thd
,
mysql
,
mi
,
&
retry_count
,
suppress_warnings
,
reconnect_messages
[
SLAVE_RECON_ACT_REG
]))
goto
err
;
goto
connected
;
});
}
DBUG_PRINT
(
"info"
,(
"Starting reading binary log from master"
));
...
...
@@ -3208,16 +3195,6 @@ requesting master dump") ||
goto
err
;
goto
connected
;
}
DBUG_EXECUTE_IF
(
"FORCE_SLAVE_TO_RECONNECT_DUMP"
,
if
(
!
retry_count_dump
)
{
retry_count_dump
++
;
sql_print_information
(
"Forcing to reconnect slave I/O thread"
);
if
(
try_to_reconnect
(
thd
,
mysql
,
mi
,
&
retry_count
,
suppress_warnings
,
reconnect_messages
[
SLAVE_RECON_ACT_DUMP
]))
goto
err
;
goto
connected
;
});
const
char
*
event_buf
;
DBUG_ASSERT
(
mi
->
last_error
().
number
==
0
);
...
...
@@ -3235,16 +3212,6 @@ requesting master dump") ||
if
(
check_io_slave_killed
(
thd
,
mi
,
"Slave I/O thread killed while \
reading event"
))
goto
err
;
DBUG_EXECUTE_IF
(
"FORCE_SLAVE_TO_RECONNECT_EVENT"
,
if
(
!
retry_count_event
)
{
retry_count_event
++
;
sql_print_information
(
"Forcing to reconnect slave I/O thread"
);
if
(
try_to_reconnect
(
thd
,
mysql
,
mi
,
&
retry_count
,
suppress_warnings
,
reconnect_messages
[
SLAVE_RECON_ACT_EVENT
]))
goto
err
;
goto
connected
;
});
if
(
event_len
==
packet_error
)
{
...
...
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