Commit 4ccaaf02 authored by Rich Prohaska's avatar Rich Prohaska

set h->dirty when h->unused_memory changes. closes #129

git-svn-id: file:///svn/tokudb@976 c7de825b-a66e-492c-adef-691d508d4ae1
parent 0f58ab6b
...@@ -276,6 +276,7 @@ int kvpair_compare (const void *av, const void *bv) { ...@@ -276,6 +276,7 @@ int kvpair_compare (const void *av, const void *bv) {
static DISKOFF malloc_diskblock_header_is_in_memory (BRT brt, int size) { static DISKOFF malloc_diskblock_header_is_in_memory (BRT brt, int size) {
DISKOFF result = brt->h->unused_memory; DISKOFF result = brt->h->unused_memory;
brt->h->unused_memory+=size; brt->h->unused_memory+=size;
brt->h->dirty = 1;
return result; return result;
} }
......
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