MCPcopy Create free account
hub / github.com/SOCI/soci / commit

Method commit

src/core/transaction.cpp:32–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32void 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
43void transaction::rollback()
44{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected