Project

General

Profile

Actions

Bug #11373

closed

Documentation: Description of Wt::Dbo::Transaction::~Transaction() is wrong/incomplete

Added by Martin Hierholzer about 1 year ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Roel Standaert
Target version:
Start date:
02/23/2023
Due date:
% Done:

100%

Estimated time:
0:06 h

Description

It says:

If the transaction is still active, it is rolled back.

This is not correct. Under normal circumstances (no exception) the transaction will be committed. One does not have to call Transaction::commit() explicitly to do so.

In an example it correctly states:

The transaction will roll back if an exception is thrown, or commit otherwise

Actions #1

Updated by Roel Standaert about 1 year ago

  • Status changed from New to InProgress
  • Assignee set to Roel Standaert
  • Target version set to 4.10.0
Actions #2

Updated by Roel Standaert about 1 year ago

  • Status changed from InProgress to Review
  • Assignee deleted (Roel Standaert)
Actions #3

Updated by Roel Standaert about 1 year ago

  • Status changed from Review to Implemented @Emweb
  • Assignee set to Roel Standaert
  • % Done changed from 0 to 100
Actions #4

Updated by Roel Standaert about 1 year ago

  • Status changed from Implemented @Emweb to Resolved
Actions #5

Updated by Matthias Van Ceulebroeck 11 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF