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

Method create

src/jrd/tra.h:209–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207 ~jrd_tra();
208
209 static jrd_tra* create(MemoryPool* pool, Attachment* attachment, jrd_tra* outer)
210 {
211 jrd_tra* const transaction =
212 FB_NEW_POOL(*pool) jrd_tra(pool, &attachment->att_memory_stats, attachment, outer);
213
214 if (!outer)
215 {
216 pool->setStatsGroup(transaction->tra_memory_stats);
217 }
218
219 return transaction;
220 }
221
222 static void destroy(Attachment* const attachment, jrd_tra* const transaction)
223 {

Callers

nothing calls this directly

Calls 2

setStatsGroupMethod · 0.80
jrd_traClass · 0.70

Tested by

no test coverage detected