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

Fixed the sweep lock owner. This is a complementary bugfix for CORE-4134 (Race condition when auto-sweep is started).

This commit is contained in:
dimitr 2013-07-15 13:51:18 +00:00
parent 31b4f14055
commit 8a9cebb21e

View File

@ -518,6 +518,7 @@ static SLONG get_owner_handle(thread_db* tdbb, enum lck_t lock_type)
case LCK_backup_database:
case LCK_monitor:
case LCK_shared_counter:
case LCK_sweep:
case LCK_crypt:
case LCK_crypt_status:
handle = *LCK_OWNER_HANDLE_DBB(tdbb);
@ -535,7 +536,6 @@ static SLONG get_owner_handle(thread_db* tdbb, enum lck_t lock_type)
case LCK_page_space:
case LCK_relation:
case LCK_tra:
case LCK_sweep:
case LCK_update_shadow:
case LCK_dsql_cache:
case LCK_backup_end: