Typo fix in assert statement.

We were checking the 'write' system call instead of the 'do_write' variable.

git-svn-id: file:///svn/tokudb@755 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
Yoni Fogel 2007-11-26 15:39:38 +00:00
parent d345db0551
commit b4e9133ffb

View file

@ -405,7 +405,7 @@ CACHEKEY test_size_flush_key;
void test_size_flush_callback(CACHEFILE f, CACHEKEY key, void *value, long size, BOOL do_write, BOOL keep, LSN modified_lsn __attribute__((__unused__)), BOOL rename_p __attribute__((__unused__))) {
if (test_size_debug) printf("test_size_flush %p %lld %p %ld %d %d\n", f, key, value, size, do_write, keep);
assert(write != 0);
assert(do_write != 0);
test_size_flush_key = key;
}