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
a992bf5a
Commit
a992bf5a
authored
Apr 07, 2009
by
Vadim Tkachenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added innodb_overwrite_relay_log_info.patch
parent
10707256
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
buf/buf0flu.c
buf/buf0flu.c
+3
-1
include/buf0buf.ic
include/buf0buf.ic
+2
-2
No files found.
buf/buf0flu.c
View file @
a992bf5a
...
...
@@ -681,7 +681,9 @@ buf_flush_write_block_low(
io_fixed and oldest_modification != 0. Thus, it cannot be
relocated in the buffer pool or removed from flush_list or
LRU_list. */
ut_ad
(
!
buf_pool_mutex_own
());
//ut_ad(!buf_pool_mutex_own());
ut_ad
(
!
mutex_own
(
&
LRU_list_mutex
));
ut_ad
(
!
mutex_own
(
&
flush_list_mutex
));
ut_ad
(
!
mutex_own
(
buf_page_get_mutex
(
bpage
)));
ut_ad
(
buf_page_get_io_fix
(
bpage
)
==
BUF_IO_WRITE
);
ut_ad
(
bpage
->
oldest_modification
!=
0
);
...
...
include/buf0buf.ic
View file @
a992bf5a
...
...
@@ -291,7 +291,7 @@ buf_page_get_LRU_position(
const buf_page_t* bpage) /* in: control block */
{
ut_ad(buf_page_in_file(bpage));
ut_ad(buf_pool_mutex_own());
//ut_ad(buf_pool_mutex_own()); /* This is used in optimistic */
return(bpage->LRU_position);
}
...
...
@@ -461,7 +461,7 @@ buf_page_is_old(
const buf_page_t* bpage) /* in: control block */
{
ut_ad(buf_page_in_file(bpage));
ut_ad(buf_pool_mutex_own());
//ut_ad(buf_pool_mutex_own()); /* This is used in optimistic */
return(bpage->old);
}
...
...
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