Lines Matching defs:txn
186 DbTxn *txn;
207 txn = NULL;
208 envp->txn_begin(NULL, &txn, 0);
221 dbp->put(txn, &key, &value, 0);
227 << countRecords(dbp, txn)
230 std::cout << thread_num << " : committing txn : " << i
235 txn->commit(0);
237 txn = NULL;
239 std::cout << "Error on txn commit: "
244 if (txn != NULL)
245 (void)txn->abort();
266 if (txn != NULL)
267 txn->abort();
283 // First call it with an active txn handle.
297 countRecords(Db *dbp, DbTxn *txn)
305 dbp->cursor(txn, &cursorp, 0);