| 382 | // Savepoint implementation |
| 383 | |
| 384 | VerbAction* Savepoint::createAction(jrd_rel* relation) |
| 385 | { |
| 386 | // Create action for the given relation. If it already exists, just return. |
| 387 | |
| 388 | VerbAction* action = getAction(relation); |
| 389 | |
| 390 | if (!action) |
| 391 | { |
| 392 | if ( (action = m_freeActions) ) |
| 393 | m_freeActions = action->vct_next; |
| 394 | else |
| 395 | action = FB_NEW_POOL(*m_transaction->tra_pool) VerbAction(); |
| 396 | |
| 397 | action->vct_next = m_actions; |
| 398 | m_actions = action; |
| 399 | |
| 400 | action->vct_relation = relation; |
| 401 | } |
| 402 | |
| 403 | return action; |
| 404 | } |
| 405 | |
| 406 | |
| 407 | void Savepoint::cleanupTempData() |
no test coverage detected