Actions
Bug #11373
closedDocumentation: Description of Wt::Dbo::Transaction::~Transaction() is wrong/incomplete
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