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

Fixed bug CORE-3315 : Audit plugin records a sencond *FAILED* EXECUTE_STATEMENT_FINISH after a "normal" one

This commit is contained in:
hvlad 2011-01-28 09:17:51 +00:00
parent a39a4a439f
commit d6ec7d5540

View File

@ -188,6 +188,12 @@ public:
~TraceDSQLFetch() ~TraceDSQLFetch()
{ {
// don't trace fetch after EOS
if (m_request && m_request->req_request &&
!(m_request->req_request->req_flags & req_active))
{
return;
}
fetch(true, res_failed); fetch(true, res_failed);
} }