Commit 34540ce6 authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

fix a couple of gcc 4.3.0 errors

git-svn-id: file:///svn/toku/tokudb@9535 c7de825b-a66e-492c-adef-691d508d4ae1
parent b7ad1269
...@@ -3775,7 +3775,7 @@ brt_cursor_shortcut (BRT_CURSOR cursor, int direction, u_int32_t limit, BRT_GET_ ...@@ -3775,7 +3775,7 @@ brt_cursor_shortcut (BRT_CURSOR cursor, int direction, u_int32_t limit, BRT_GET_
//Starting with the prev, find the first real (non-provdel) leafentry. //Starting with the prev, find the first real (non-provdel) leafentry.
while (index != limit) { while (index != limit) {
OMTVALUE le; OMTVALUE le = NULL;
index += direction; index += direction;
r = toku_omt_fetch(omt, index, &le, NULL); r = toku_omt_fetch(omt, index, &le, NULL);
assert(r==0); assert(r==0);
...@@ -3805,7 +3805,7 @@ brt_cursor_shortcut (BRT_CURSOR cursor, int direction, u_int32_t limit, BRT_GET_ ...@@ -3805,7 +3805,7 @@ brt_cursor_shortcut (BRT_CURSOR cursor, int direction, u_int32_t limit, BRT_GET_
static int static int
brt_cursor_maybe_get_and_pin_leaf(BRT_CURSOR brtcursor, BRTNODE* leafp) { brt_cursor_maybe_get_and_pin_leaf(BRT_CURSOR brtcursor, BRTNODE* leafp) {
void * nodep; void * nodep = NULL;
int r = toku_cachetable_maybe_get_and_pin(brtcursor->brt->cf, int r = toku_cachetable_maybe_get_and_pin(brtcursor->brt->cf,
brtcursor->leaf_info.blocknumber, brtcursor->leaf_info.blocknumber,
brtcursor->leaf_info.fullhash, brtcursor->leaf_info.fullhash,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment