| 30 | } |
| 31 | |
| 32 | void transaction::commit() |
| 33 | { |
| 34 | if (handled_) |
| 35 | { |
| 36 | throw soci_error("The transaction object cannot be handled twice."); |
| 37 | } |
| 38 | |
| 39 | sql_.commit(); |
| 40 | handled_ = true; |
| 41 | } |
| 42 | |
| 43 | void transaction::rollback() |
| 44 | { |
nothing calls this directly
no outgoing calls
no test coverage detected