8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 22:43:03 +01:00

Avoid tracing compilation of system triggers

This commit is contained in:
Dmitry Yemanov 2023-09-07 14:17:44 +03:00
parent fb0c6070c2
commit 341b87518f

View File

@ -429,9 +429,10 @@ public:
m_tdbb(tdbb) m_tdbb(tdbb)
{ {
const auto attachment = m_tdbb->getAttachment(); const auto attachment = m_tdbb->getAttachment();
const auto trace_mgr = attachment->att_trace_manager; const auto trace_mgr = attachment->att_trace_manager;
m_need_trace = trace_mgr->needs(ITraceFactory::TRACE_EVENT_TRIGGER_COMPILE);
m_need_trace = !trigger->sysTrigger &&
trace_mgr->needs(ITraceFactory::TRACE_EVENT_TRIGGER_COMPILE);
if (!m_need_trace) if (!m_need_trace)
return; return;