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
8acf951e
Commit
8acf951e
authored
Sep 29, 2009
by
Andrei Elkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WL#342 heartbeat
Improving an error report generating.
parent
a029813b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
sql/slave.cc
sql/slave.cc
+3
-4
No files found.
sql/slave.cc
View file @
8acf951e
...
@@ -1233,11 +1233,10 @@ when it try to get the value of TIME_ZONE global variable from master.";
...
@@ -1233,11 +1233,10 @@ when it try to get the value of TIME_ZONE global variable from master.";
if
(
mysql_real_query
(
mysql
,
query
,
strlen
(
query
))
if
(
mysql_real_query
(
mysql
,
query
,
strlen
(
query
))
&&
!
check_io_slave_killed
(
mi
->
io_thd
,
mi
,
NULL
))
&&
!
check_io_slave_killed
(
mi
->
io_thd
,
mi
,
NULL
))
{
{
errmsg
=
"The slave I/O thread stops because
querying master with '%s'
"
errmsg
=
"The slave I/O thread stops because
SET @master_heartbeat_period
"
"failed; error: '%s'
"
;
"on master failed.
"
;
err_code
=
ER_SLAVE_FATAL_ERROR
;
err_code
=
ER_SLAVE_FATAL_ERROR
;
sprintf
(
err_buff
,
"%s Error: %s"
,
errmsg
,
sprintf
(
err_buff
,
"%s Error: %s"
,
errmsg
,
mysql_error
(
mysql
));
query
,
mysql_error
(
mysql
));
mysql_free_result
(
mysql_store_result
(
mysql
));
mysql_free_result
(
mysql_store_result
(
mysql
));
goto
err
;
goto
err
;
}
}
...
...
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