8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 21: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:52:14 +00:00
parent 341d29beb7
commit caa69987e7

View File

@ -497,13 +497,13 @@ SLONG LCK_get_owner_handle(thread_db* tdbb, enum lck_t lock_type)
case LCK_monitor:
case LCK_tt_exist:
case LCK_shared_counter:
case LCK_sweep:
handle = *LCK_OWNER_HANDLE_DBB(tdbb);
break;
case LCK_attachment:
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: