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
This commit is contained in:
Leif Walsh 2013-04-17 00:00:56 -04:00 committed by Yoni Fogel
parent d3b55b4d8a
commit 72f7d85666

View file

@ -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);