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

Method beginSweepRelation

src/jrd/tra.cpp:4238–4251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4236
4237
4238void TraceSweepEvent::beginSweepRelation(jrd_rel* relation)
4239{
4240 if (!m_need_trace)
4241 return;
4242
4243 if (relation && relation->rel_name.isEmpty())
4244 {
4245 // don't accumulate per-relation stats for metadata query below
4246 MET_lookup_relation_id(m_tdbb, relation->rel_id, false);
4247 }
4248
4249 m_relation_clock = fb_utils::query_performance_counter();
4250 m_base_stats.assign(m_tdbb->getTransaction()->tra_stats);
4251}
4252
4253
4254void TraceSweepEvent::endSweepRelation(jrd_rel* relation)

Callers 1

VIO_sweepFunction · 0.80

Calls 4

isEmptyMethod · 0.45
assignMethod · 0.45
getTransactionMethod · 0.45

Tested by

no test coverage detected