Commit 2de81008 authored by John Esmet's avatar John Esmet Committed by Yoni Fogel

refs #5801 fix breverse, get flt1 reproducing and passing again


git-svn-id: file:///svn/toku/tokudb@51751 c7de825b-a66e-492c-adef-691d508d4ae1
parent 8e545e8f
......@@ -87,6 +87,7 @@ run_recover_flt_test(int argc, char *const argv[]) {
}
// we want to induce a checkpoint
args.env_args.checkpointing_period = 0;
args.env_args.cachetable_size = 20 * 1024 * 1024;
parse_stress_test_args(argc, argv, &args);
if (args.do_test_and_crash) {
stress_test_main(&args);
......
......@@ -666,7 +666,7 @@ static int64_t breverse(int64_t v)
}
k <<= s; // shift when v's highest bits are zero
int64_t r = k;
return r < 0 ? -r : r;
return r & ~(1ULL << 63);
}
static void
......
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