| 402 | } |
| 403 | |
| 404 | void odbc_session_backend::commit() |
| 405 | { |
| 406 | SQLRETURN rc = SQLEndTran(SQL_HANDLE_DBC, hdbc_, SQL_COMMIT); |
| 407 | if (is_odbc_error(rc)) |
| 408 | { |
| 409 | throw odbc_soci_error(SQL_HANDLE_DBC, hdbc_, "committing transaction"); |
| 410 | } |
| 411 | reset_transaction(); |
| 412 | } |
| 413 | |
| 414 | void odbc_session_backend::rollback() |
| 415 | { |
nothing calls this directly
no test coverage detected