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
This commit is contained in:
Yoni Fogel 2013-04-16 23:57:59 -04:00
parent 8a404510eb
commit 73ec532840

View file

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