mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 06:44:16 +01:00
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:
parent
d3b55b4d8a
commit
72f7d85666
1 changed files with 2 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue