| 2870 | |
| 2871 | |
| 2872 | static void transaction_flush(thread_db* tdbb, USHORT flush_flag, TraNumber tra_number) |
| 2873 | { |
| 2874 | /************************************** |
| 2875 | * |
| 2876 | * t r a n s a c t i o n _ f l u s h |
| 2877 | * |
| 2878 | ************************************** |
| 2879 | * |
| 2880 | * Functional description |
| 2881 | * Flush pages modified by user and/or system transaction. |
| 2882 | * Note, flush of user transaction also flushed pages, |
| 2883 | * changed by system transaction. |
| 2884 | * |
| 2885 | **************************************/ |
| 2886 | fb_assert(flush_flag == FLUSH_TRAN || flush_flag == FLUSH_SYSTEM); |
| 2887 | |
| 2888 | CCH_flush(tdbb, flush_flag, tra_number); |
| 2889 | |
| 2890 | jrd_tra* const sysTran = tdbb->getAttachment()->getSysTransaction(); |
| 2891 | sysTran->tra_flags &= ~TRA_write; |
| 2892 | } |
| 2893 | |
| 2894 | |
| 2895 | static void transaction_options(thread_db* tdbb, |
no test coverage detected