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
e9978246
Commit
e9978246
authored
Nov 17, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/jimw/my/mysql-4.1-11796
into mysql.com:/home/jimw/my/mysql-4.1-clean
parents
a88d95aa
33bae032
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
sql/sql_show.cc
sql/sql_show.cc
+7
-4
No files found.
sql/sql_show.cc
View file @
e9978246
...
...
@@ -1890,7 +1890,7 @@ int mysqld_show(THD *thd, const char *wild, show_var_st *variables,
case
SHOW_SLAVE_RUNNING
:
{
pthread_mutex_lock
(
&
LOCK_active_mi
);
end
=
strmov
(
buff
,
(
active_mi
->
slave_running
&&
end
=
strmov
(
buff
,
(
active_mi
&&
active_mi
->
slave_running
&&
active_mi
->
rli
.
slave_running
)
?
"ON"
:
"OFF"
);
pthread_mutex_unlock
(
&
LOCK_active_mi
);
break
;
...
...
@@ -1902,9 +1902,12 @@ int mysqld_show(THD *thd, const char *wild, show_var_st *variables,
SLAVE STATUS, and have the sum over all lines here.
*/
pthread_mutex_lock
(
&
LOCK_active_mi
);
pthread_mutex_lock
(
&
active_mi
->
rli
.
data_lock
);
end
=
int10_to_str
(
active_mi
->
rli
.
retried_trans
,
buff
,
10
);
pthread_mutex_unlock
(
&
active_mi
->
rli
.
data_lock
);
if
(
active_mi
)
{
pthread_mutex_lock
(
&
active_mi
->
rli
.
data_lock
);
end
=
int10_to_str
(
active_mi
->
rli
.
retried_trans
,
buff
,
10
);
pthread_mutex_unlock
(
&
active_mi
->
rli
.
data_lock
);
}
pthread_mutex_unlock
(
&
LOCK_active_mi
);
break
;
}
...
...
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