mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 14:54:20 +01:00
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:
parent
8a404510eb
commit
73ec532840
1 changed files with 0 additions and 6 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue