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

Fixed the bug reported by Adriano.

This commit is contained in:
dimitr 2006-06-20 04:16:50 +00:00
parent 602d6e34f2
commit 6c2b110a8e

View File

@ -3578,6 +3578,7 @@ static dsc* lock_state(thread_db* tdbb, jrd_nod* node, impure_value* impure)
LCK_get_owner_handle(tdbb, temp_lock.lck_type);
temp_lock.lck_length = sizeof(SLONG);
temp_lock.lck_key.lck_long = id;
temp_lock.lck_dbb = dbb;
if (LCK_lock(tdbb, &temp_lock, LCK_write, LCK_NO_WAIT)) {
impure->vlu_misc.vlu_long = 1;