Commit 56eaba9c authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul

Make test-recover3.bdb run by making xactions smaller. Addresses #537.

git-svn-id: file:///svn/tokudb@2817 c7de825b-a66e-492c-adef-691d508d4ae1
parent 2d0050a5
...@@ -62,6 +62,10 @@ static void test (void) { ...@@ -62,6 +62,10 @@ static void test (void) {
data.data=0; data.data=0;
free(keys[i]); free(keys[i]);
free(vals[i]); free(vals[i]);
if (i%500==499) {
r=tid->commit(tid, 0); assert(r==0);
r=env->txn_begin(env, 0, &tid, 0); assert(r==0);
}
} }
r=tid->commit(tid, 0); assert(r==0); r=tid->commit(tid, 0); assert(r==0);
free(data.data); free(data.data);
......
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