mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 14:54:20 +01:00
fix a couple of gcc 4.3.0 errors
git-svn-id: file:///svn/toku/tokudb@9535 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
36b1539510
commit
4d98908e5a
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
while (index != limit) {
|
||||
OMTVALUE le;
|
||||
OMTVALUE le = NULL;
|
||||
index += direction;
|
||||
r = toku_omt_fetch(omt, index, &le, NULL);
|
||||
assert(r==0);
|
||||
|
@ -3805,7 +3805,7 @@ brt_cursor_shortcut (BRT_CURSOR cursor, int direction, u_int32_t limit, BRT_GET_
|
|||
|
||||
static int
|
||||
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,
|
||||
brtcursor->leaf_info.blocknumber,
|
||||
brtcursor->leaf_info.fullhash,
|
||||
|
|
Loading…
Add table
Reference in a new issue