if (isOverflowPage) newPageFlag = 4;
if (needLog) {
int newPageNo = freePageInfo.getPageNumber().getPageNumber();
BTreeNewPageLogRecord logRec = new BTreeNewPageLogRecord(freePageInfo.getPageNumber().getTreeId(), newPageNo, txnId, newPageFlag, docid, btreeSpec.btree.getType());
logRec.log();
}
/* end:added by marriane for logging newPage log record */
newPage.page = freePageInfo.getPageData();
newPage.setPageNumber(freePageInfo.getPageNumber());