Commit cdca262f authored by Rich Prohaska's avatar Rich Prohaska

compile with gcc-4.3 on debian4. addresses #804

git-svn-id: file:///svn/tokudb@3922 c7de825b-a66e-492c-adef-691d508d4ae1
parent 4b7d193a
...@@ -2486,6 +2486,7 @@ int toku_dump_brt (BRT brt) { ...@@ -2486,6 +2486,7 @@ int toku_dump_brt (BRT brt) {
return 0; return 0;
} }
#if 0
static int show_brtnode_blocknumbers (BRT brt, DISKOFF off) { static int show_brtnode_blocknumbers (BRT brt, DISKOFF off) {
BRTNODE node; BRTNODE node;
void *node_v; void *node_v;
...@@ -2508,7 +2509,6 @@ static int show_brtnode_blocknumbers (BRT brt, DISKOFF off) { ...@@ -2508,7 +2509,6 @@ static int show_brtnode_blocknumbers (BRT brt, DISKOFF off) {
return r; return r;
} }
#if 0
int show_brt_blocknumbers (BRT brt) { int show_brt_blocknumbers (BRT brt) {
int r; int r;
CACHEKEY *rootp; CACHEKEY *rootp;
......
...@@ -605,7 +605,7 @@ void toku_recover_deleteleafentry (LSN lsn, FILENUM filenum, DISKOFF diskoff, u_ ...@@ -605,7 +605,7 @@ void toku_recover_deleteleafentry (LSN lsn, FILENUM filenum, DISKOFF diskoff, u_
VERIFY_COUNTS(node); VERIFY_COUNTS(node);
node->log_lsn = lsn; node->log_lsn = lsn;
{ {
OMTVALUE data; OMTVALUE data = 0;
r=toku_omt_fetch(node->u.l.buffer, idx, &data); r=toku_omt_fetch(node->u.l.buffer, idx, &data);
assert(r==0); assert(r==0);
LEAFENTRY oldleafentry=data; LEAFENTRY oldleafentry=data;
......
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