Subject | Re: [firebird-support] Database corruption on virtual machine |
---|---|
Author | Ann W. Harrison |
Post date | 2008-10-27T21:11:59Z |
Paul Tessman wrote:
going to have a page type error, that's a good one because a gbak
will succeed (unless you're not lucky and the index is part of a
system table) and the restore will be good.
Vlad Khorsun fixed a bug that allowed a pointer from an upper level
of the index to a lower level to persist after the lower level page
had been recombined with another page at the same level and released.
That may be the bug you saw. I don't remember which versions were
fixed.
Good luck,
Ann
>[Lots of pertinent information cut]
>
>Page type 7 is an index page. Page type 5 is a data page. If you're
> I received the following error:
> EIBInterBaseError with message:
> 'database file appears corrupt () wrong page type page 419181 is of
> wrong type(expected 7, found 5)'
going to have a page type error, that's a good one because a gbak
will succeed (unless you're not lucky and the index is part of a
system table) and the restore will be good.
Vlad Khorsun fixed a bug that allowed a pointer from an upper level
of the index to a lower level to persist after the lower level page
had been recombined with another page at the same level and released.
That may be the bug you saw. I don't remember which versions were
fixed.
Good luck,
Ann