8
0
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:
alexpeshkoff 2002-06-28 13:56:21 +00:00
parent 003f067d34
commit bbab5f625c

View File

@ -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;