| 3955 | } |
| 3956 | |
| 3957 | void jrd_tra::listStayingUndo(jrd_rel* relation, SINT64 number, RecordStack &staying) |
| 3958 | /************************************** |
| 3959 | * |
| 3960 | * l i s t S t a y i n g U n d o |
| 3961 | * |
| 3962 | ************************************** |
| 3963 | * |
| 3964 | * Functional description |
| 3965 | * For given record find undo data in stack of savepoint (if any) and push it into list. |
| 3966 | * Except one from given verb action. |
| 3967 | * |
| 3968 | **************************************/ |
| 3969 | { |
| 3970 | for (Savepoint::Iterator iter(tra_save_point); *iter; ++iter) |
| 3971 | { |
| 3972 | VerbAction* const action = (*iter)->getAction(relation); |
| 3973 | |
| 3974 | if (action && action->vct_undo && action->vct_undo->locate(number)) |
| 3975 | staying.push(action->vct_undo->current().setupRecord(this)); |
| 3976 | } |
| 3977 | } |
| 3978 | |
| 3979 | void jrd_tra::releaseAutonomousPool(MemoryPool* toRelease) |
| 3980 | { |
no test coverage detected