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

Fixed CORE-2572: Locks of type LCK_page_space processed incorrectly

This commit is contained in:
alexpeshkoff 2009-07-24 13:01:13 +00:00
parent c3b999eaa2
commit be9afc2abc

View File

@ -2435,7 +2435,7 @@ USHORT PageManager::getTempPageSpaceID(thread_db* tdbb)
lock->lck_type = LCK_page_space;
lock->lck_owner_handle = LCK_get_owner_handle(tdbb, lock->lck_type);
lock->lck_parent = dbb->dbb_lock;
lock->lck_length = sizeof(USHORT);
lock->lck_length = sizeof(lock->lck_key.lck_long);
lock->lck_dbb = dbb;
PAG_attachment_id(tdbb);