Project

General

Profile

Feature #1354 ยป add-session-property-to-transaction.diff

Jake Petroules, 07/10/2012 09:15 AM

View differences:

src/Wt/Dbo/Transaction
* \sa commit()
*/
void rollback();
/*! \brief Returns the session associated with this transaction.
*
* This is the same session that was set in the constructor.
*/
Session& session() const;
private:
struct Impl {
src/Wt/Dbo/Transaction.C
impl_->rollback();
}
Session& Transaction::session() const
{
return session_;
}
Transaction::Impl::Impl(Session& session)
: session_(session),
active_(true),
    (1-1/1)