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
24e30932
Commit
24e30932
authored
Jun 17, 2010
by
Sunny Bains
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert a change that should have been a part of 3008.2.76..3008.2.78.
parent
6d84dd5f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
27 deletions
+1
-27
storage/innobase/srv/srv0srv.c
storage/innobase/srv/srv0srv.c
+1
-27
No files found.
storage/innobase/srv/srv0srv.c
View file @
24e30932
...
...
@@ -2371,30 +2371,6 @@ loop:
OS_THREAD_DUMMY_RETURN
;
}
/******************************************************************//**
Increment the server activity count. */
UNIV_INLINE
void
srv_inc_activity_count_low
(
void
)
/*============================*/
{
mutex_enter
(
&
kernel_mutex
);
++
srv_activity_count
;
mutex_exit
(
&
kernel_mutex
);
}
/******************************************************************//**
Increment the server activity count. */
UNIV_INTERN
void
srv_inc_activity_count
(
void
)
/*========================*/
{
srv_inc_activity_count_low
();
}
/**********************************************************************//**
Check whether any background thread is active.
@return FALSE if all are are suspended or have exited. */
...
...
@@ -2431,9 +2407,7 @@ void
srv_active_wake_master_thread
(
void
)
/*===============================*/
{
ut_ad
(
!
mutex_own
(
&
kernel_mutex
));
srv_inc_activity_count_low
();
srv_activity_count
++
;
if
(
srv_n_threads_active
[
SRV_MASTER
]
==
0
)
{
...
...
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