From 5bfcbdb076f40f0de405671a1c9e37f4d022d852 Mon Sep 17 00:00:00 2001 From: "Colleen M. Lewis" Date: Mon, 31 Oct 2005 23:21:18 +0000 Subject: [PATCH] Bug fixed: TfixedPageAlloc calls fixedPageInitialize with the wrong arguments. --- src/lladd/operations/pageOperations.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lladd/operations/pageOperations.c b/src/lladd/operations/pageOperations.c index c92b4cc..7cc7c79 100644 --- a/src/lladd/operations/pageOperations.c +++ b/src/lladd/operations/pageOperations.c @@ -313,7 +313,7 @@ compensated_function int TpageAlloc(int xid /*, int type */) { recordid TfixedPageAlloc(int xid, int size) { int page = TpageAlloc(xid); Page * p = loadPage(xid, page); - fixedPageInitialize(p , xid, recordsPerPage(size)); + fixedPageInitialize(p , size, recordsPerPage(size)); byte * tmpMemAddr = alloca(PAGE_SIZE); memcpy(tmpMemAddr, p->memAddr, PAGE_SIZE); TpageSet(xid, page, tmpMemAddr);