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

Remove not needed code.

This commit is contained in:
hvlad 2007-11-27 16:21:25 +00:00
parent 59fa71d805
commit 0182b158d0

View File

@ -2307,13 +2307,6 @@ bool PageSpace::extend(thread_db* tdbb, const ULONG pageNum)
if (pageNum < maxPageNumber || MAX_EXTEND_BYTES < MIN_EXTEND_BYTES)
return true;
#ifdef WIN_NT
// hvlad: we need an attachment lock to get exclusive LCK_file_extend lock
// see comments in winnt.cpp\FileExtendLock::FileExtendLock
if (!tdbb->tdbb_attachment || !tdbb->tdbb_attachment->att_lock_owner_handle)
return false;
#endif
Database* dbb = tdbb->tdbb_database;
if (pageNum >= maxAlloc(dbb->dbb_page_size))