From: Vlad K. <hv...@us...> - 2010-05-27 08:55:29
|
Build Version : T3.0.0.28545 Firebird 3.0 Unstable (writeBuildNum.sh,v 1.28720 2010/05/27 08:55:20 hvlad Exp $ ) Update of /cvsroot/firebird/firebird2/src/jrd In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv7384/jrd Modified Files: cch.cpp Log Message: Fixed bug CORE-3016 : On disconnect it is possible to see "Fatal lock manager error: invalid lock id (0), errno: 0" in firebird.log Index: cch.cpp =================================================================== RCS file: /cvsroot/firebird/firebird2/src/jrd/cch.cpp,v retrieving revision 1.262 retrieving revision 1.263 diff -b -U3 -r1.262 -r1.263 --- cch.cpp 9 Apr 2010 00:53:29 -0000 1.262 +++ cch.cpp 27 May 2010 08:55:19 -0000 1.263 @@ -276,6 +276,9 @@ { Database::SyncGuard dsGuard(dbb, true); + if (dbb->dbb_flags & DBB_not_in_use) + return 0; + Lock* const lock = dbb->dbb_lock; // Since this routine will be called asynchronously, |