Commit a505eb38 authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul

Call {{{toku_malloc_cleanup}}} in {{{tdb_recover}}}. Fixes #552.

git-svn-id: file:///svn/tokudb@2914 c7de825b-a66e-492c-adef-691d508d4ae1
parent d9459659
......@@ -198,6 +198,7 @@ void toku_recover_brtdeq (LSN lsn, FILENUM filenum, DISKOFF diskoff, u_int32_t c
ITEMLEN actual_keylen, actual_datalen;
u_int32_t actual_type;
TXNID actual_xid;
assert(childnum<(u_int32_t)node->u.n.n_children);
r = toku_fifo_peek(BNC_BUFFER(node, childnum), &actual_key, &actual_keylen, &actual_data, &actual_datalen, &actual_type, &actual_xid);
assert(r==0);
assert(actual_keylen==(ITEMLEN)key.len);
......
......@@ -27,5 +27,6 @@ int main (int argc, char *argv[]) {
fprintf(stderr, "Recovery failed\n");
exit(1);
}
toku_malloc_cleanup();
return 0;
}
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