From a5cf59455ae2140c92b6b9d5ea934f7400f7d47b Mon Sep 17 00:00:00 2001 From: Yoni Fogel Date: Tue, 16 Apr 2013 23:58:02 -0400 Subject: [PATCH] Closes #1969 closes[t:1969] Fix assertion in round_to_page git-svn-id: file:///svn/toku/tokudb@14570 c7de825b-a66e-492c-adef-691d508d4ae1 --- newbrt/memarena.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/newbrt/memarena.c b/newbrt/memarena.c index 14f7a16bf6f..e41a4e1a812 100644 --- a/newbrt/memarena.c +++ b/newbrt/memarena.c @@ -42,7 +42,7 @@ round_to_page (size_t size) { const size_t result = PAGE_SIZE+((size-1)&~(PAGE_SIZE-1)); assert(0==(result&(PAGE_SIZE-1))); // make sure it's aligned assert(result>=size); // make sure it's not too small - assert(size