| 632 | // AutoSavePoint implementation |
| 633 | |
| 634 | AutoSavePoint::AutoSavePoint(thread_db* tdbb, jrd_tra* trans, bool cond) |
| 635 | : m_tdbb(tdbb), m_transaction(trans), m_number(0) |
| 636 | { |
| 637 | if (!cond) |
| 638 | return; |
| 639 | |
| 640 | const auto savepoint = trans->startSavepoint(); |
| 641 | m_number = savepoint->getNumber(); |
| 642 | } |
| 643 | |
| 644 | AutoSavePoint::~AutoSavePoint() |
| 645 | { |
nothing calls this directly
no test coverage detected