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
6a544feb
Commit
6a544feb
authored
Feb 22, 2012
by
Zardosht Kasheff
Committed by
Yoni Fogel
Apr 17, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[t:4556], fix bug
git-svn-id:
file:///svn/toku/tokudb@40168
c7de825b-a66e-492c-adef-691d508d4ae1
parent
32d7741a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
12 deletions
+10
-12
newbrt/brt.c
newbrt/brt.c
+10
-12
No files found.
newbrt/brt.c
View file @
6a544feb
...
@@ -5519,23 +5519,21 @@ toku_brt_search (BRT brt, brt_search_t *search, BRT_GET_CALLBACK_FUNCTION getf,
...
@@ -5519,23 +5519,21 @@ toku_brt_search (BRT brt, brt_search_t *search, BRT_GET_CALLBACK_FUNCTION getf,
// - brt_search_node is called, assuming that the node and its relevant partition are in memory.
// - brt_search_node is called, assuming that the node and its relevant partition are in memory.
//
//
struct
brtnode_fetch_extra
bfe
;
struct
brtnode_fetch_extra
bfe
;
fill_bfe_for_subset_read
(
&
bfe
,
brt
->
h
,
search
,
&
brtcursor
->
range_lock_left_key
,
&
brtcursor
->
range_lock_right_key
,
brtcursor
->
left_is_neg_infty
,
brtcursor
->
right_is_pos_infty
,
brtcursor
->
disable_prefetching
);
BRTNODE
node
=
NULL
;
BRTNODE
node
=
NULL
;
{
{
toku_brtheader_grab_treelock
(
brt
->
h
);
toku_brtheader_grab_treelock
(
brt
->
h
);
u_int32_t
fullhash
;
u_int32_t
fullhash
;
CACHEKEY
*
rootp
=
toku_calculate_root_offset_pointer
(
brt
->
h
,
&
fullhash
);
CACHEKEY
*
rootp
=
toku_calculate_root_offset_pointer
(
brt
->
h
,
&
fullhash
);
fill_bfe_for_subset_read
(
&
bfe
,
brt
->
h
,
search
,
&
brtcursor
->
range_lock_left_key
,
&
brtcursor
->
range_lock_right_key
,
brtcursor
->
left_is_neg_infty
,
brtcursor
->
right_is_pos_infty
,
brtcursor
->
disable_prefetching
);
toku_pin_brtnode_off_client_thread
(
toku_pin_brtnode_off_client_thread
(
brt
->
h
,
brt
->
h
,
*
rootp
,
*
rootp
,
...
...
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