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
7295f6ea
Commit
7295f6ea
authored
Aug 29, 2011
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql-5.5 to working copy.
parents
7c20cd1b
d7264adc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
storage/innobase/include/sync0sync.ic
storage/innobase/include/sync0sync.ic
+2
-3
No files found.
storage/innobase/include/sync0sync.ic
View file @
7295f6ea
...
@@ -272,11 +272,10 @@ pfs_mutex_enter_nowait_func(
...
@@ -272,11 +272,10 @@ pfs_mutex_enter_nowait_func(
ulint ret;
ulint ret;
struct PSI_mutex_locker* locker = NULL;
struct PSI_mutex_locker* locker = NULL;
PSI_mutex_locker_state state;
PSI_mutex_locker_state state;
int result = 0;
if (UNIV_LIKELY(PSI_server && mutex->pfs_psi)) {
if (UNIV_LIKELY(PSI_server && mutex->pfs_psi)) {
locker = PSI_server->get_thread_mutex_locker(
locker = PSI_server->get_thread_mutex_locker(
&state, mutex->pfs_psi, PSI_MUTEX_LOCK);
&state, mutex->pfs_psi, PSI_MUTEX_
TRY
LOCK);
if (locker) {
if (locker) {
PSI_server->start_mutex_wait(locker, file_name, line);
PSI_server->start_mutex_wait(locker, file_name, line);
}
}
...
@@ -285,7 +284,7 @@ pfs_mutex_enter_nowait_func(
...
@@ -285,7 +284,7 @@ pfs_mutex_enter_nowait_func(
ret = mutex_enter_nowait_func(mutex, file_name, line);
ret = mutex_enter_nowait_func(mutex, file_name, line);
if (locker) {
if (locker) {
PSI_server->end_mutex_wait(locker, re
sul
t);
PSI_server->end_mutex_wait(locker, ret);
}
}
return(ret);
return(ret);
...
...
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