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
8ccbb421
Commit
8ccbb421
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
c9a66cdf
Changes
1
Hide 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 @
8ccbb421
...
...
@@ -2371,30 +2371,6 @@ srv_error_monitor_thread(
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