Commit bab7b004 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

[t:3698], make keyrange-unflat fit in memory so that the test can truly test...

[t:3698], make keyrange-unflat fit in memory so that the test can truly test keyrange without worrying about the effect of orthopush on drawing leafnodes into memory.

git-svn-id: file:///svn/toku/tokudb@32893 c7de825b-a66e-492c-adef-691d508d4ae1
parent f1b9d053
......@@ -15,7 +15,7 @@ static void test_flat (u_int64_t limit) {
unlink(fname);
CACHETABLE ct;
// set the cachetable to size 1 so that things won't fit.
int r = toku_brt_create_cachetable(&ct, 1, ZERO_LSN, NULL_LOGGER); assert(r==0);
int r = toku_brt_create_cachetable(&ct, 0, ZERO_LSN, NULL_LOGGER); assert(r==0);
BRT t;
r = toku_open_brt(fname, 1, &t, 1<<12, ct, null_txn, toku_builtin_compare_fun, null_db); assert(r==0);
u_int64_t i;
......
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