| 2579 | |
| 2580 | |
| 2581 | void JTransaction::internalCommit(CheckStatusWrapper* user_status) |
| 2582 | { |
| 2583 | /************************************** |
| 2584 | * |
| 2585 | * g d s _ $ c o m m i t |
| 2586 | * |
| 2587 | ************************************** |
| 2588 | * |
| 2589 | * Functional description |
| 2590 | * Commit a transaction. |
| 2591 | * |
| 2592 | **************************************/ |
| 2593 | try |
| 2594 | { |
| 2595 | EngineContextHolder tdbb(user_status, this, FB_FUNCTION); |
| 2596 | check_database(tdbb); |
| 2597 | |
| 2598 | try |
| 2599 | { |
| 2600 | JRD_commit_transaction(tdbb, getHandle()); |
| 2601 | transaction = NULL; |
| 2602 | } |
| 2603 | catch (const Exception& ex) |
| 2604 | { |
| 2605 | transliterateException(tdbb, ex, user_status, "JTransaction::commit"); |
| 2606 | return; |
| 2607 | } |
| 2608 | } |
| 2609 | catch (const Exception& ex) |
| 2610 | { |
| 2611 | ex.stuffException(user_status); |
| 2612 | return; |
| 2613 | } |
| 2614 | |
| 2615 | successful_completion(user_status); |
| 2616 | } |
| 2617 | |
| 2618 | |
| 2619 | void JTransaction::commitRetaining(CheckStatusWrapper* user_status) |
nothing calls this directly
no test coverage detected