mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 14:03:07 +01:00
Fix CORE-1470.
This commit is contained in:
parent
a5786b3459
commit
0519215923
@ -1590,9 +1590,7 @@ void PAG_init2(USHORT shadow_number)
|
||||
if ((shadow_number) && (!file->fil_min_page))
|
||||
CCH_RELEASE(tdbb, &window);
|
||||
|
||||
for (const TEXT* p = reinterpret_cast<TEXT*>(header->hdr_data);
|
||||
*p != HDR_end;
|
||||
p += 2 + p[1])
|
||||
for (const UCHAR* p = header->hdr_data; *p != HDR_end; p += 2 + p[1])
|
||||
{
|
||||
switch (*p) {
|
||||
case HDR_file:
|
||||
@ -1608,8 +1606,7 @@ void PAG_init2(USHORT shadow_number)
|
||||
case HDR_sweep_interval:
|
||||
// CVC: Let's copy it always.
|
||||
//if (!(dbb->dbb_flags & DBB_read_only))
|
||||
MOVE_FAST(p + 2, &dbb->dbb_sweep_interval,
|
||||
sizeof(SLONG));
|
||||
MOVE_FAST(p + 2, &dbb->dbb_sweep_interval, sizeof(SLONG));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user