int pgno = overflowPage.pageNumber.getPageNumber();
short upBound = overflowPage.upperBound;
short lowBound = (short) BTreeSpec.PAGE_HEADER_SIZE;
BTreeFreeOverflowPageLogRecord lr = new BTreeFreeOverflowPageLogRecord(pageNumber.getTreeId(), pgno, txnId, ByteTool.copyByteArray(overflowPage.page, 0, lowBound), ByteTool.copyByteArray(overflowPage.page, upBound, BTreeSpec.PAGE_SIZE - upBound), btreeSpec.btree.getType());
lr.log();
}
/* end:added by marriane 2001-9-29 for logging free overflow page log record */
buffer.addToFreeList(btreeSpec.btree.getBtreeId(), overflowPage.pageNumber, needLog ? new Integer(txnId) : null);
while (overflowPage.nextPage.getPageNumber() > 0) {