MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / createAction

Method createAction

src/jrd/Savepoint.cpp:384–404  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

382// Savepoint implementation
383
384VerbAction* 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
407void Savepoint::cleanupTempData()

Callers 2

verb_postFunction · 0.80
rollbackMethod · 0.80

Calls 1

VerbActionClass · 0.85

Tested by

no test coverage detected