From b4e9133ffbaf073fca42a22a1b0b2acceb6735ab Mon Sep 17 00:00:00 2001 From: Yoni Fogel Date: Mon, 26 Nov 2007 15:39:38 +0000 Subject: [PATCH] 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 --- newbrt/cachetable-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/newbrt/cachetable-test.c b/newbrt/cachetable-test.c index a5e78eb5f43..6f4c489f71a 100644 --- a/newbrt/cachetable-test.c +++ b/newbrt/cachetable-test.c @@ -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; }