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

Method create

src/dsql/Keywords.cpp:45–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43
44
45Keywords* Keywords::Allocator::create()
46{
47 thread_db* tdbb = JRD_get_thread_data();
48 fb_assert(tdbb);
49 Database* dbb = tdbb->getDatabase();
50 fb_assert(dbb);
51
52 return FB_NEW_POOL(*dbb->dbb_permanent) Keywords(*dbb->dbb_permanent);
53}
54
55Keywords::Keywords(MemoryPool& pool)
56 : map(pool)

Callers

nothing calls this directly

Calls 3

JRD_get_thread_dataFunction · 0.85
KeywordsClass · 0.85
getDatabaseMethod · 0.80

Tested by

no test coverage detected