From: <hv...@us...> - 2010-07-26 13:31:49
|
Revision: 51372 http://firebird.svn.sourceforge.net/firebird/?rev=51372&view=rev Author: hvlad Date: 2010-07-26 13:31:43 +0000 (Mon, 26 Jul 2010) Log Message: ----------- Backport fix for bug CORE-3016 : On disconnect it is possible to see "Fatal lock manager error: invalid lock id (0), errno: 0" in firebird.log Modified Paths: -------------- firebird/branches/B2_1_Release/src/jrd/cch.cpp Modified: firebird/branches/B2_1_Release/src/jrd/cch.cpp =================================================================== --- firebird/branches/B2_1_Release/src/jrd/cch.cpp 2010-07-26 11:38:04 UTC (rev 51371) +++ firebird/branches/B2_1_Release/src/jrd/cch.cpp 2010-07-26 13:31:43 UTC (rev 51372) @@ -330,6 +330,9 @@ return 0; } + if (dbb->dbb_flags & DBB_not_in_use) + return 0; + /* Since this routine will be called asynchronously, we must establish a thread context. */ thread_db thd_context, *tdbb; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |