Commit 73ec5328 authored by Yoni Fogel's avatar Yoni Fogel

Closes #1944 closes[t:1944] Removed unnecessary insert of ("a","b") for every transaction

git-svn-id: file:///svn/toku/tokudb@14048 c7de825b-a66e-492c-adef-691d508d4ae1
parent 8a404510
......@@ -287,12 +287,6 @@ static void serial_insert_from (long long from) {
if (do_transactions && !singlex) {
int r = dbenv->txn_begin(dbenv, 0, &tid, 0); assert(r==0);
do_prelock(db, tid);
{
DBT k,v;
r=db->put(db, tid, fill_dbt(&k, "a", 1), fill_dbt(&v, "b", 1), put_flags);
CKERR(r);
}
}
for (i=0; i<items_per_iteration; i++) {
insert((from+i)*SERIAL_SPACING);
......
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