Commit 571558c5 authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

refs #5138 test-5138 didn't need to be nearly that large


git-svn-id: file:///svn/toku/tokudb@45258 c7de825b-a66e-492c-adef-691d508d4ae1
parent 2ce694e9
......@@ -37,13 +37,11 @@ int test_main(int argc, char * const argv[]) {
DBT key, val;
unsigned int i;
DBT *keyp = dbt_init(&key, &i, sizeof(i));
char *XCALLOC_N(4096, valbuf);
DBT *valp = dbt_init(&val, valbuf, 4096);
for (i = 0; i < 100000; ++i) {
DBT *valp = dbt_init(&val, &i, sizeof(i));
for (i = 0; i < 1000; ++i) {
r = db->put(db, txn, keyp, valp, 0);
CKERR(r);
}
toku_free(valbuf);
r = txn->commit(txn, 0);
CKERR(r);
......
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