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

Fixed bug CORE-2817 : If stored procedure or trigger contains query with PLAN ORDER it could fail after disconnect of attachment where procedure\trigger executed first time

and bug CORE-2820 : Small memory leak in query with PLAN ORDER
This commit is contained in:
hvlad 2010-01-20 10:25:18 +00:00
parent 7ea4328d0a
commit 12cf2ed4f6

View File

@ -98,6 +98,9 @@ void IndexTableScan::close(thread_db* tdbb)
if (impure->irsb_nav_page)
{
impure->irsb_nav_btr_gc_lock->enablePageGC(tdbb);
delete impure->irsb_nav_btr_gc_lock;
impure->irsb_nav_btr_gc_lock = NULL;
impure->irsb_nav_page = 0;
}
}