mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 04:03:04 +01:00
temporary lock fix in TRA_sweep
This commit is contained in:
parent
003f067d34
commit
bbab5f625c
@ -1856,6 +1856,7 @@ int TRA_sweep(TDBB tdbb, TRA trans)
|
||||
LCK_get_owner_handle(tdbb, temp_lock.lck_type);
|
||||
temp_lock.lck_parent = dbb->dbb_lock;
|
||||
temp_lock.lck_length = sizeof(SLONG);
|
||||
temp_lock.lck_test_field = 666; // this should better be in constructor !
|
||||
|
||||
if (!LCK_lock_non_blocking
|
||||
(tdbb, &temp_lock, LCK_EX, (trans) ? FALSE : TRUE)) return TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user