Documented subtle hack; TallocPage() really needs a way to set page type at recovery. Currently, this just doesn't happen, since page types are lazily set.

Perhaps Talloc() could handle it?
This commit is contained in:
Sears Russell 2006-07-25 01:05:02 +00:00
parent 8485cc7fe1
commit 45a5996215

View file

@ -559,6 +559,10 @@ recordid slottedPostRalloc(int xid, Page * page, lsn_t lsn, recordid rid) {
updating the storefile without first locking any pages
that suffer from this problem.
Also, this only works because pages that are of type
BOUNDARY_TAG_PAGE are guaranteed to have their page type
set before recovery calls this function.
*/
slottedPageInitialize(page);