mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 07:23:04 +01:00
Avod assertion
This commit is contained in:
parent
3fe79cfae3
commit
44ffbdb145
@ -178,7 +178,10 @@ public:
|
||||
{
|
||||
m_need_trace = m_request->req_traced && TraceManager::need_dsql_execute(m_attachment);
|
||||
if (!m_need_trace)
|
||||
{
|
||||
m_request->req_fetch_baseline = NULL;
|
||||
return;
|
||||
}
|
||||
|
||||
m_start_clock = fb_utils::query_performance_counter();
|
||||
}
|
||||
|
@ -184,7 +184,10 @@ public:
|
||||
void fetch(bool eof, ntrace_result_t result)
|
||||
{
|
||||
if (!m_need_trace)
|
||||
{
|
||||
m_request->req_fetch_baseline = NULL;
|
||||
return;
|
||||
}
|
||||
|
||||
m_need_trace = false;
|
||||
m_request->req_fetch_elapsed += fb_utils::query_performance_counter() - m_start_clock;
|
||||
|
Loading…
Reference in New Issue
Block a user