| 798 | |
| 799 | |
| 800 | void TRA_init(Jrd::Attachment* attachment) |
| 801 | { |
| 802 | /************************************** |
| 803 | * |
| 804 | * T R A _ i n i t |
| 805 | * |
| 806 | ************************************** |
| 807 | * |
| 808 | * Functional description |
| 809 | * "Start" the system transaction. |
| 810 | * |
| 811 | **************************************/ |
| 812 | Database* dbb = attachment->att_database; |
| 813 | CHECK_DBB(dbb); |
| 814 | |
| 815 | MemoryPool* const pool = dbb->dbb_permanent; |
| 816 | jrd_tra* const trans = FB_NEW_POOL(*pool) jrd_tra(pool, &dbb->dbb_memory_stats, attachment, NULL); |
| 817 | attachment->setSysTransaction(trans); |
| 818 | trans->tra_flags |= TRA_system | TRA_ignore_limbo; |
| 819 | } |
| 820 | |
| 821 | |
| 822 | void TRA_invalidate(thread_db* tdbb, ULONG mask) |
no test coverage detected