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:
parent
fb0c6070c2
commit
341b87518f
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user