db.addToBuffer(p);
		private boolean gotoNextPosition() throws BTreeException, IOException {		    if (node != null) {				db.setOwnerObject(lockKey);				long addr = db.findValue(lockKey, node);				if (addr == BTree.KEY_NOT_FOUND)					return false;				DOMFile.RecordPos rec = db.findRecord(addr);				if(rec != null) {					page = rec.page.getPageNum();					p = rec.page;					offset = rec.offset - 2;					node = null;				} else				    return false;			} else if (-1 < startAddress) {				DOMFile.RecordPos rec = db.findRecord(startAddress);				if(rec != null) {					page = rec.page.getPageNum();					offset = rec.offset - 2;					p = rec.page;					startAddress = -1;					return true;				} else				    return false;			} else if (page == -1)			    return false;			p = db.getCurrentPage(page);			return true;		}