| 761 | |
| 762 | |
| 763 | inline void clearRecordStack(RecordStack& stack) |
| 764 | { |
| 765 | /************************************** |
| 766 | * |
| 767 | * c l e a r R e c o r d S t a c k |
| 768 | * |
| 769 | ************************************** |
| 770 | * |
| 771 | * Functional description |
| 772 | * Clears stack, deleting each entry, popped from it. |
| 773 | * |
| 774 | **************************************/ |
| 775 | while (stack.hasData()) |
| 776 | { |
| 777 | Record* r = stack.pop(); |
| 778 | // records from undo log must not be deleted |
| 779 | if (!r->isTempActive()) |
| 780 | delete r; |
| 781 | } |
| 782 | } |
| 783 | |
| 784 | inline bool needDfw(thread_db* tdbb, const jrd_tra* transaction) |
| 785 | { |
no test coverage detected