/** Promote a single page. Assumes the path to this page has been handled in some way elsewhere */ static boolean promote1(BPTreePage page, BPTreeNode node, int idx) { //System.out.println("promote1: "+page.getBlockMgr().getLabel()+" "+page.getBackingBlock().getId()) ; boolean changed = page.promote() ; node.ptrs.set(idx, page.getId()) ; return changed ; }
/** Promote a single page. Assumes the path to this page has been handled in some way elsewhere */ static boolean promote1(BPTreePage page, BPTreeNode node, int idx) { //System.out.println("promote1: "+page.getBlockMgr().getLabel()+" "+page.getBackingBlock().getId()) ; boolean changed = page.promote() ; node.ptrs.set(idx, page.getId()) ; return changed ; }
boolean changed = page.promote(); if ( loggingCall ) { if ( changed )
boolean changed = page.promote(); if ( loggingCall ) { if ( changed )