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
3fc037db
Commit
3fc037db
authored
Jul 31, 2006
by
lars/lthalmann@mysql.com/dl145j.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/users/lthalmann/bkroot/mysql-5.0-rpl
into mysql.com:/users/lthalmann/bk/MERGE/mysql-5.0-merge
parents
fbd94751
221004a8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
11 deletions
+9
-11
innobase/btr/btr0cur.c
innobase/btr/btr0cur.c
+2
-1
innobase/ibuf/ibuf0ibuf.c
innobase/ibuf/ibuf0ibuf.c
+6
-9
innobase/include/sync0rw.ic
innobase/include/sync0rw.ic
+1
-1
No files found.
innobase/btr/btr0cur.c
View file @
3fc037db
...
...
@@ -439,7 +439,7 @@ retry_page_get:
if
(
UNIV_LIKELY_NULL
(
heap
))
{
mem_heap_free
(
heap
);
}
return
;
goto
func_exit
;
}
/* Insert to the insert buffer did not succeed:
...
...
@@ -555,6 +555,7 @@ retry_page_get:
||
mode
!=
PAGE_CUR_LE
);
}
func_exit:
if
(
has_search_latch
)
{
rw_lock_s_lock
(
&
btr_search_latch
);
...
...
innobase/ibuf/ibuf0ibuf.c
View file @
3fc037db
...
...
@@ -950,14 +950,11 @@ ibool
ibuf_fixed_addr_page
(
/*=================*/
/* out: TRUE if a fixed address ibuf i/o page */
ulint
space
,
/* in: space id */
ulint
page_no
)
/* in: page number */
{
if
((
ibuf_bitmap_page
(
page_no
))
||
(
page_no
==
IBUF_TREE_ROOT_PAGE_NO
))
{
return
(
TRUE
);
}
return
(
FALSE
);
return
((
space
==
0
&&
page_no
==
IBUF_TREE_ROOT_PAGE_NO
)
||
ibuf_bitmap_page
(
page_no
));
}
/***************************************************************************
...
...
@@ -981,7 +978,7 @@ ibuf_page(
return
(
FALSE
);
}
if
(
ibuf_fixed_addr_page
(
page_no
))
{
if
(
ibuf_fixed_addr_page
(
space
,
page_no
))
{
return
(
TRUE
);
}
...
...
@@ -1029,7 +1026,7 @@ ibuf_page_low(
return
(
FALSE
);
}
#endif
if
(
ibuf_fixed_addr_page
(
page_no
))
{
if
(
ibuf_fixed_addr_page
(
space
,
page_no
))
{
return
(
TRUE
);
}
...
...
@@ -3052,7 +3049,7 @@ ibuf_merge_or_delete_for_page(
return
;
}
#endif
if
(
ibuf_fixed_addr_page
(
page_no
)
||
fsp_descr_page
(
page_no
)
if
(
ibuf_fixed_addr_page
(
space
,
page_no
)
||
fsp_descr_page
(
page_no
)
||
trx_sys_hdr_page
(
space
,
page_no
))
{
return
;
}
...
...
innobase/include/sync0rw.ic
View file @
3fc037db
...
...
@@ -362,7 +362,7 @@ rw_lock_s_unlock_func(
/* Reset the shared lock by decrementing the reader count */
ut_a
d
(lock->reader_count > 0);
ut_a(lock->reader_count > 0);
lock->reader_count--;
#ifdef UNIV_SYNC_DEBUG
...
...
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