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

Restored the line I omitted yestersay. Surprisingly our background threads execute DSQL queries, sigh.

This commit is contained in:
Dmitry Yemanov 2022-12-21 16:42:15 +03:00
parent 5c7030d12a
commit 45e9c97100

View File

@ -837,6 +837,11 @@ void Jrd::Attachment::releaseLocks(thread_db* tdbb)
for (bool getResult = accessor.getFirst(); getResult; getResult = accessor.getNext())
LCK_release(tdbb, accessor.current()->second.lock);
// Release DSQL statement cache lock
if (att_dsql_instance)
att_dsql_instance->dbb_statement_cache->shutdown(tdbb);
// Release the remaining locks
if (att_id_lock)