mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 14:03:07 +01:00
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
This commit is contained in:
parent
851b74c1ed
commit
a243a208ba
@ -330,6 +330,9 @@ int CCH_down_grade_dbb(void* ast_object)
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user