8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 07:23:04 +01:00

Avod assertion

This commit is contained in:
hvlad 2009-02-11 15:20:14 +00:00
parent 3fe79cfae3
commit 44ffbdb145
2 changed files with 6 additions and 0 deletions

View File

@ -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();
}

View File

@ -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;