mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 14:03:07 +01:00
Backport.
This commit is contained in:
parent
c36c627162
commit
6f6a1a3fc9
@ -69,6 +69,7 @@
|
||||
#endif
|
||||
|
||||
#include "../common/config/config.h"
|
||||
#include "../common/utils_proto.h"
|
||||
#include "../jrd/fil.h"
|
||||
#include "../jrd/jrd.h"
|
||||
#include "../jrd/pag.h"
|
||||
@ -2489,6 +2490,7 @@ USHORT PageManager::getTempPageSpaceID(thread_db* tdbb)
|
||||
lock->lck_key.lck_long = static_cast<SLONG>(tmp) + TEMP_PAGE_SPACE + 1;
|
||||
if (LCK_lock(tdbb, lock, LCK_write, LCK_NO_WAIT))
|
||||
break;
|
||||
fb_utils::init_status(tdbb->tdbb_status_vector);
|
||||
}
|
||||
|
||||
att->att_temp_pg_lock = lock;
|
||||
|
Loading…
Reference in New Issue
Block a user