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

Method LocalThreadContext

src/jrd/replication/Applier.cpp:207–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205 {
206 public:
207 LocalThreadContext(thread_db* tdbb, jrd_tra* tra, Request* req = NULL)
208 : Firebird::ContextPoolHolder(req ? req->req_pool : tdbb->getDefaultPool()),
209 m_tdbb(tdbb)
210 {
211 tdbb->setTransaction(tra);
212 tdbb->setRequest(req);
213 }
214
215 ~LocalThreadContext()
216 {

Callers

nothing calls this directly

Calls 3

setRequestMethod · 0.80
getDefaultPoolMethod · 0.45
setTransactionMethod · 0.45

Tested by

no test coverage detected