Dbc::get() has no need to commit ?
529558Aug 25 2006 — edited Aug 30 2006m_pEvironment->txn_begin (NULL,&m_pTransaction,0);
nRes=m_pDb->cursor (m_pTransaction,&m_pCursor,0);
try
{
Dbt dbKey;
Dbt dbData;
int nRes;
dbKey.set_flags (DB_DBT_MALLOC);
dbData.set_flags (DB_DBT_MALLOC);
nRes=m_pCursor->get (&dbKey,&dbData,DB_NEXT);
m_pTransaction->commit (0); // <---------exception catched ,jump to catch() block.
// Dbc::get() is one of a access operation ,in theory it need a commitment.
}
catch (DbException &dbe)
{
}
sorry to disturb you as I really have no information to refer to.