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
f43f7226
Commit
f43f7226
authored
Apr 06, 2009
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: Remove the bogus failure reported in Issue #219.
parent
33e578ff
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
ChangeLog
ChangeLog
+5
-0
sync/sync0rw.c
sync/sync0rw.c
+6
-4
No files found.
ChangeLog
View file @
f43f7226
2009-04-06 The InnoDB Team
* sync/sync0rw.c:
Avoid a bogus failure in UNIV_SYNC_DEBUG diagnostics.
2009-04-02 The InnoDB Team
* handler/ha_innodb.cc, include/srv0srv.h, srv/srv0srv.c:
...
...
sync/sync0rw.c
View file @
f43f7226
...
...
@@ -950,7 +950,12 @@ rw_lock_print(
"RW-LATCH: %p "
,
(
void
*
)
lock
);
#ifndef INNODB_RW_LOCKS_USE_ATOMICS
mutex_enter
(
&
(
lock
->
mutex
));
/* We used to acquire lock->mutex here, but it would cause a
recursive call to sync_thread_add_level() if UNIV_SYNC_DEBUG
is defined. Since this function is only invoked from
sync_thread_levels_g(), let us choose the smaller evil:
performing dirty reads instead of causing bogus deadlocks or
assertion failures. */
#endif
if
(
lock
->
lock_word
!=
X_LOCK_DECR
)
{
...
...
@@ -966,9 +971,6 @@ rw_lock_print(
info
=
UT_LIST_GET_NEXT
(
list
,
info
);
}
}
#ifndef INNODB_RW_LOCKS_USE_ATOMICS
mutex_exit
(
&
(
lock
->
mutex
));
#endif
}
/*************************************************************************
...
...
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