Commit d9436a2d authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

#2948 fix a broken assert

git-svn-id: file:///svn/toku/tokudb@24119 c7de825b-a66e-492c-adef-691d508d4ae1
parent bb5579a1
...@@ -29,7 +29,7 @@ test_overflow (void) { ...@@ -29,7 +29,7 @@ test_overflow (void) {
for (i=0; i<8; i++) { for (i=0; i<8; i++) {
char key[]={(char)('a'+i), 0}; char key[]={(char)('a'+i), 0};
r = toku_brt_insert(t, toku_fill_dbt(&k, key, 2), toku_fill_dbt(&v,buf,sizeof(buf)), null_txn); r = toku_brt_insert(t, toku_fill_dbt(&k, key, 2), toku_fill_dbt(&v,buf,sizeof(buf)), null_txn);
assert(r=0); assert(r==0);
} }
r = toku_close_brt(t, 0); assert(r==0); r = toku_close_brt(t, 0); assert(r==0);
r = toku_cachetable_close(&ct); assert(r==0); r = toku_cachetable_close(&ct); assert(r==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